diff options
author | Peter Ross <pross@xvid.org> | 2012-12-14 10:06:15 +1100 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2012-12-14 16:46:29 +1100 |
commit | 5c78a8129c4bac2ae0c12d90672799325bc01e96 (patch) | |
tree | 47aa7acd8d3ecd7aaea83e452ff1302659fd55ad | |
parent | 58f30175e1ed30aa8a3521d5b3a1ae700e5c5d23 (diff) | |
download | ffmpeg-5c78a8129c4bac2ae0c12d90672799325bc01e96.tar.gz |
sauce: test filetype correctly for datatype 5 (binary text)
-rw-r--r-- | libavformat/sauce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sauce.c b/libavformat/sauce.c index 21cc95bccb..a2347b0197 100644 --- a/libavformat/sauce.c +++ b/libavformat/sauce.c @@ -71,7 +71,7 @@ int ff_sauce_read(AVFormatContext *avctx, uint64_t *fsize, int *got_width, int g if (get_height && t2) avctx->streams[0]->codec->height = t2<<4; } else if (datatype == 5) { - if (filetype > 1) { + if (filetype) { avctx->streams[0]->codec->width = (filetype == 1 ? t1 : filetype) << 4; *got_width = 1; } |