]> git.sesse.net Git - ffmpeg/commitdiff
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 c902f988e3c4f2213328013bdc90d8a6245958e9..27963f5460309dae344b399814f09cb32bd1895d 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 6be51f4fd98f409e45df7e0b54728728492311f9..4c660358ad4a3651900a133d840b32808c4407d9 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.
  *