Replace some occurrences of -1 with PIX_FMT_NONE.
[ffmpeg.git] / libavcodec / mjpegenc.c
index d76341c..d131195 100644 (file)
@@ -454,6 +454,6 @@ AVCodec mjpeg_encoder = {
     MPV_encode_init,
     MPV_encode_picture,
     MPV_encode_end,
-    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, -1},
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_NONE},
     .long_name= "MJPEG (Motion JPEG)",
 };