lavfi/avcodec: fix API version checks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/12/merge
Hendrik Leppkes 12 years ago committed by Michael Niedermayer
parent 3c7f669972
commit ed69c69a01
  1. 2
      libavfilter/avcodec.c
  2. 2
      libavfilter/avcodec.h

@ -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)
{

@ -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.
*

Loading…
Cancel
Save