mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
sauce: test filetype correctly for datatype 5 (binary text)
This commit is contained in:
parent
58f30175e1
commit
5c78a8129c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user