diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-02-06 18:43:06 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-02-06 18:43:06 +0000 |
commit | 3f26d68aecb1cec054cde548e341ffaf82fa2748 (patch) | |
tree | e4432ff4b6b509a8e0bcc3a5adcee6243c985152 /libavcodec/h263.c | |
parent | 1b781f82c9d21eeabc4c16c89d7b8b2ab39c5cbb (diff) | |
download | ffmpeg-3f26d68aecb1cec054cde548e341ffaf82fa2748.tar.gz |
emulate (idiotic) MS behavior for inconsistant dimensions
Originally committed as revision 3940 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 4adc362c38..ad496344b9 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -5538,7 +5538,7 @@ static int decode_vol_header(MpegEncContext *s, GetBitContext *gb){ skip_bits1(gb); /* marker */ height = get_bits(gb, 13); skip_bits1(gb); /* marker */ - if(width && height){ /* they should be non zero but who knows ... */ + if(width && height && !(s->width && s->avctx->codec_tag == ff_get_fourcc("MP4S"))){ /* they should be non zero but who knows ... */ s->width = width; s->height = height; // printf("width/height: %d %d\n", width, height); |