]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/snowenc.c
lavc: add a wrapper for AVCodecContext.get_buffer().
[ffmpeg] / libavcodec / snowenc.c
index 29f53302b02fc92829a704639c8469b9a9ff141c..e60cb6529781766937f32324d180a6c626364bb3 100644 (file)
@@ -239,7 +239,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
     ff_set_cmp(&s->dsp, s->dsp.me_cmp, s->avctx->me_cmp);
     ff_set_cmp(&s->dsp, s->dsp.me_sub_cmp, s->avctx->me_sub_cmp);
 
-    s->avctx->get_buffer(s->avctx, &s->input_picture);
+    s->ff_get_buffer(s->avctx, &s->input_picture);
 
     if(s->avctx->me_method == ME_ITER){
         int i;