[FFmpeg-cvslog] lavfi/avcodec: fix API version checks

Hendrik Leppkes git at videolan.org
Wed Mar 13 22:28:51 CET 2013


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Wed Mar 13 21:01:26 2013 +0100| [ed69c69a016eecfff9f9da86cb1055037130ecaf] | committer: Michael Niedermayer

lavfi/avcodec: fix API version checks

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ed69c69a016eecfff9f9da86cb1055037130ecaf
---

 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 c902f98..27963f5 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 6be51f4..4c66035 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.
  *



More information about the ffmpeg-cvslog mailing list