mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/avcodec: fix API version checks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3c7f669972
commit
ed69c69a01
|
@ -134,7 +134,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef FF_API_FILL_FRAME
|
#if FF_API_FILL_FRAME
|
||||||
int avfilter_fill_frame_from_audio_buffer_ref(AVFrame *frame,
|
int avfilter_fill_frame_from_audio_buffer_ref(AVFrame *frame,
|
||||||
const AVFilterBufferRef *samplesref)
|
const AVFilterBufferRef *samplesref)
|
||||||
{
|
{
|
||||||
|
|
|
@ -58,7 +58,7 @@ AVFilterBufferRef *avfilter_get_buffer_ref_from_frame(enum AVMediaType type,
|
||||||
const AVFrame *frame,
|
const AVFrame *frame,
|
||||||
int perms);
|
int perms);
|
||||||
|
|
||||||
#ifdef FF_API_FILL_FRAME
|
#if FF_API_FILL_FRAME
|
||||||
/**
|
/**
|
||||||
* Fill an AVFrame with the information stored in samplesref.
|
* Fill an AVFrame with the information stored in samplesref.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue