]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/xl.c
cook: use AVCodecContext.channels instead of keeping a private copy
[ffmpeg] / libavcodec / xl.c
index 7ba24132214ef8ec128d2322358f032c7f989455..b63315850c910e2db4045e0bb427dfdfa8a8e232 100644 (file)
@@ -130,7 +130,7 @@ static int decode_frame(AVCodecContext *avctx,
 static av_cold int decode_init(AVCodecContext *avctx){
 //    VideoXLContext * const a = avctx->priv_data;
 
-    avctx->pix_fmt= PIX_FMT_YUV411P;
+    avctx->pix_fmt= AV_PIX_FMT_YUV411P;
 
     return 0;
 }