nouveau: remove unneeded assert
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 10 Sep 2014 15:06:34 +0000 (17:06 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 12 Sep 2014 03:18:07 +0000 (23:18 -0400)
No idea why it was added, but the code runs fine even on videos
where it triggers.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c

index edbc82b8dc8b5e811765986199dfbe0c0fb21a20..25283b79952ccb57e5227028cb6f498599824c60 100644 (file)
@@ -271,7 +271,6 @@ nouveau_vp3_fill_picparm_mpeg4_vp(struct nouveau_vp3_decoder *dec,
 {
    struct mpeg4_picparm_vp pic_vp_stub = {}, *pic_vp = &pic_vp_stub;
    uint32_t ring, ret = 0x01014; // !async_shutdown << 16 | watchdog << 12 | irq_record << 4 | unk;
-   assert(!(dec->base.width & 0xf));
    *is_ref = desc->vop_coding_type <= 1;
 
    pic_vp->width = dec->base.width;