diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-12-05 06:34:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-12-07 16:35:06 +0100 |
commit | 380232fac3a6ca6f661f3d14e31308d3059c5c72 (patch) | |
tree | 33b287c53299d321b4282ae2c1bd1cbda06a2f19 /libavcodec/snow.c | |
parent | 92dad6687f59a6e599834218626e524eb8a5bdae (diff) | |
download | ffmpeg-380232fac3a6ca6f661f3d14e31308d3059c5c72.tar.gz |
snow: fix build after 594d4d5df3c70404168701dd5c90b7e6e5587793
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r-- | libavcodec/snow.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index fce45621c6..b9dab45c5f 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -24,6 +24,7 @@ #include "avcodec.h" #include "dsputil.h" #include "dwt.h" +#include "internal.h" #include "snow.h" #include "snowdata.h" @@ -458,7 +459,7 @@ av_cold int ff_snow_common_init(AVCodecContext *avctx){ for(j=0; j<MAX_REF_FRAMES; j++) ff_scale_mv_ref[i][j] = 256*(i+1)/(j+1); - if ((ret = s->ff_get_buffer(s->avctx, &s->mconly_picture)) < 0) { + if ((ret = ff_get_buffer(s->avctx, &s->mconly_picture)) < 0) { av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return ret; } @@ -623,7 +624,7 @@ int ff_snow_frame_start(SnowContext *s){ } s->current_picture.reference= 1; - if(s->ff_get_buffer(s->avctx, &s->current_picture) < 0){ + if(ff_get_buffer(s->avctx, &s->current_picture) < 0){ av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return -1; } |