diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-03-13 21:01:26 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-13 22:18:02 +0100 |
commit | ed69c69a016eecfff9f9da86cb1055037130ecaf (patch) | |
tree | c789dd067c95a695beafac52913a9979e0d6b420 /libavfilter | |
parent | 3c7f6699721515ec3afb91fcb0ab82859092bd31 (diff) | |
download | ffmpeg-ed69c69a016eecfff9f9da86cb1055037130ecaf.tar.gz |
lavfi/avcodec: fix API version checks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avcodec.c | 2 | ||||
-rw-r--r-- | libavfilter/avcodec.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index c902f988e3..27963f5460 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -134,7 +134,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src) return 0; } -#ifdef FF_API_FILL_FRAME +#if FF_API_FILL_FRAME int avfilter_fill_frame_from_audio_buffer_ref(AVFrame *frame, const AVFilterBufferRef *samplesref) { diff --git a/libavfilter/avcodec.h b/libavfilter/avcodec.h index 6be51f4fd9..4c660358ad 100644 --- a/libavfilter/avcodec.h +++ b/libavfilter/avcodec.h @@ -58,7 +58,7 @@ AVFilterBufferRef *avfilter_get_buffer_ref_from_frame(enum AVMediaType type, const AVFrame *frame, int perms); -#ifdef FF_API_FILL_FRAME +#if FF_API_FILL_FRAME /** * Fill an AVFrame with the information stored in samplesref. * |