avcodec/mjpegenc: the AMV encoder doesnt support yuv422 n2.4
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Sep 2014 15:09:38 +0000 (17:09 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Sep 2014 15:46:33 +0000 (17:46 +0200)
Fixes Ticket3883

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b227be34db76541db0269a769dad90c20793353f)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegenc.c

index 6fbc3b4..72c56d2 100644 (file)
@@ -241,7 +241,7 @@ AVCodec ff_amv_encoder = {
     .encode2        = amv_encode_picture,
     .close          = ff_mpv_encode_end,
     .pix_fmts       = (const enum AVPixelFormat[]){
-        AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_NONE
+        AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_NONE
     },
 };
 #endif