From ed69c69a016eecfff9f9da86cb1055037130ecaf Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Wed, 13 Mar 2013 21:01:26 +0100 Subject: [PATCH] lavfi/avcodec: fix API version checks Signed-off-by: Michael Niedermayer --- libavfilter/avcodec.c | 2 +- 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. *