summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/avcodec.c2
-rw-r--r--libavfilter/avcodec.h2
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.
*