From 32094285adea48eb2ad5a23f94fc289ac225a3b7 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sat, 28 Apr 2012 13:05:09 +0200 Subject: lavfi: implement avfilter_get_audio_buffer_ref_from_frame. --- libavfilter/avcodec.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libavfilter/avcodec.h') diff --git a/libavfilter/avcodec.h b/libavfilter/avcodec.h index 64773a670b..1aa8b9c654 100644 --- a/libavfilter/avcodec.h +++ b/libavfilter/avcodec.h @@ -46,6 +46,16 @@ int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src); */ AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame, int perms); + +/** + * Create and return a picref reference from the data and properties + * contained in frame. + * + * @param perms permissions to assign to the new buffer reference + */ +AVFilterBufferRef *avfilter_get_audio_buffer_ref_from_frame(const AVFrame *frame, + int perms); + /** * Fill an AVFrame with the information stored in samplesref. * -- cgit v1.2.3