]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ffv1enc.c
g726: decode directly to the user-provided AVFrame
[ffmpeg] / libavcodec / ffv1enc.c
index efc1b11a85a107c085b3068aa138fa7238efdcaf..8c6fc9a9c94590e6c71f0df0b0c4fd23e1334d49 100644 (file)
@@ -725,8 +725,8 @@ static av_cold int ffv1_encode_init(AVCodecContext *avctx)
     if (!s->transparency)
         s->plane_count = 2;
 
-    avcodec_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift,
-                                  &s->chroma_v_shift);
+    av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift,
+                                     &s->chroma_v_shift);
 
     s->picture_number = 0;