summaryrefslogtreecommitdiff
path: root/libavfilter/avcodec.h
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-04-28 13:05:09 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-05-04 23:26:40 +0200
commit32094285adea48eb2ad5a23f94fc289ac225a3b7 (patch)
tree702be70a36c46f68c948ffeaf95541e9e28bfbf8 /libavfilter/avcodec.h
parent9e6a1c8981bffcb5401f60b3eec6c65b6e846a52 (diff)
lavfi: implement avfilter_get_audio_buffer_ref_from_frame.
Diffstat (limited to 'libavfilter/avcodec.h')
-rw-r--r--libavfilter/avcodec.h10
1 files changed, 10 insertions, 0 deletions
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.
*