Mercurial > libavcodec.hg
diff h263.c @ 2503:5a28a7dd57d7 libavcodec
emulate (idiotic) MS behavior for inconsistant dimensions
author | michael |
---|---|
date | Sun, 06 Feb 2005 18:43:06 +0000 |
parents | f5fe61bd08ac |
children | e25782262d7d |
line wrap: on
line diff
--- a/h263.c Sun Feb 06 17:01:07 2005 +0000 +++ b/h263.c Sun Feb 06 18:43:06 2005 +0000 @@ -5538,7 +5538,7 @@ 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);