diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-22 11:56:55 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-25 13:42:47 +0200 |
commit | 43583fb85c75ce66f57a6654ca65b55c1c026aae (patch) | |
tree | d906c1fb92c24673a2e4e973920afd20196a2f57 /libavfilter/avcodec.c | |
parent | 972cad77fa13ae312650dd0b7b99e484ffcb7949 (diff) | |
download | ffmpeg-43583fb85c75ce66f57a6654ca65b55c1c026aae.tar.gz |
lavfi/avcodec: deprecate avfilter_fill_frame_from_*_buffer_ref API
Deprecate functions:
avfilter_fill_frame_from_buffer_ref
avfilter_fill_frame_from_audio_buffer_ref
avfilter_fill_frame_from_video_buffer_ref
and schedule to drop them at the next API major bump.
The function avfilter_copy_buf_props() should be used instead.
Diffstat (limited to 'libavfilter/avcodec.c')
-rw-r--r-- | libavfilter/avcodec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index ce53ed9118..c50cd18f0b 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -131,6 +131,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src) return 0; } +#ifdef FF_API_FILL_FRAME int avfilter_fill_frame_from_audio_buffer_ref(AVFrame *frame, const AVFilterBufferRef *samplesref) { @@ -148,3 +149,4 @@ int avfilter_fill_frame_from_buffer_ref(AVFrame *frame, { return avfilter_copy_buf_props(frame, ref); } +#endif |