lavfi/avcodec: fix API version checks
authorHendrik Leppkes <h.leppkes@gmail.com>
Wed, 13 Mar 2013 20:01:26 +0000 (21:01 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Mar 2013 21:18:02 +0000 (22:18 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avcodec.c
libavfilter/avcodec.h

index c902f98..27963f5 100644 (file)
@@ -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)
 {
index 6be51f4..4c66035 100644 (file)
@@ -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.
  *