Revision 3f26d68a

View differences:

libavcodec/h263.c
5538 5538
            skip_bits1(gb);   /* marker */
5539 5539
            height = get_bits(gb, 13);
5540 5540
            skip_bits1(gb);   /* marker */
5541
            if(width && height){ /* they should be non zero but who knows ... */
5541
            if(width && height && !(s->width && s->avctx->codec_tag == ff_get_fourcc("MP4S"))){ /* they should be non zero but who knows ... */
5542 5542
                s->width = width;
5543 5543
                s->height = height;
5544 5544
//                printf("width/height: %d %d\n", width, height);

Also available in: Unified diff