]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/yuv4mpegdec.c
Merge commit '95a8a03a191204c3ca5c8cf6b69ab166765d5ff3'
[ffmpeg] / libavformat / yuv4mpegdec.c
index 462b8238606429fa3f8606df1397f5ac9f44c913..ff0125e4cf3065832ae6a446d4f91d593ef25229 100644 (file)
@@ -126,6 +126,12 @@ static int yuv4_read_header(AVFormatContext *s)
                 pix_fmt = AV_PIX_FMT_YUV444P;
             } else if (strncmp("mono16", tokstart, 6) == 0) {
                 pix_fmt = AV_PIX_FMT_GRAY16;
+            } else if (strncmp("mono12", tokstart, 6) == 0) {
+                pix_fmt = AV_PIX_FMT_GRAY12;
+            } else if (strncmp("mono10", tokstart, 6) == 0) {
+                pix_fmt = AV_PIX_FMT_GRAY10;
+            } else if (strncmp("mono9", tokstart, 5) == 0) {
+                pix_fmt = AV_PIX_FMT_GRAY9;
             } else if (strncmp("mono", tokstart, 4) == 0) {
                 pix_fmt = AV_PIX_FMT_GRAY8;
             } else {