]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/sauce.c
Merge commit 'f1d8763a02b5fce9a7d9789e049d74a45b15e1e8'
[ffmpeg] / libavformat / sauce.c
index 21cc95bccb71d34b17cc7a2394fba3fb06a6333b..a2347b019711687988dbefa18a1d9b6c1459eae6 100644 (file)
@@ -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;
             }