Commit 6a2e4fde authored by michael's avatar michael

emulate (idiotic) MS behavior for inconsistant dimensions


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3940 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e815b5ff
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment