summaryrefslogtreecommitdiffstats
path: root/audio/audio.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-07-24 19:06:00 +0200
committerwm4 <wm4@nowhere>2016-07-24 19:06:00 +0200
commit3623cec7d2753ec7e7bf1ca73580203acb3347c8 (patch)
tree2563ead45b6b86ae6889f76b3e9095da68703301 /audio/audio.h
parentd60db967bda3e9910ec6bc78d0d0cb284f5d68fa (diff)
downloadmpv-3623cec7d2753ec7e7bf1ca73580203acb3347c8.tar.bz2
mpv-3623cec7d2753ec7e7bf1ca73580203acb3347c8.tar.xz
af_lavcac3enc: use common code for AVFrame setup
Diffstat (limited to 'audio/audio.h')
-rw-r--r--audio/audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio.h b/audio/audio.h
index e126e93b66..0f32f080b9 100644
--- a/audio/audio.h
+++ b/audio/audio.h
@@ -81,6 +81,7 @@ int mp_audio_make_writeable(struct mp_audio *data);
struct AVFrame;
struct mp_audio *mp_audio_from_avframe(struct AVFrame *avframe);
struct AVFrame *mp_audio_to_avframe_and_unref(struct mp_audio *frame);
+int mp_audio_to_avframe(struct mp_audio *frame, struct AVFrame *avframe);
struct mp_audio_pool;
struct mp_audio_pool *mp_audio_pool_create(void *ta_parent);