diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2014-07-18 17:39:01 -0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-08-03 23:13:26 +0200 |
commit | fbc0b8659967ea54a8472b5f795270d38bb085dd (patch) | |
tree | cef4d2a848b8e6e27e20479eb51e82fb866771c0 /libavresample/audio_data.h | |
parent | 9f17685dfb70a73823aca16ad246ee3b831d1de8 (diff) | |
download | ffmpeg-fbc0b8659967ea54a8472b5f795270d38bb085dd.tar.gz |
lavr: Do not change the sample format for mono audio
This treats mono as planar internally within libavresample rather
than changing the sample format.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavresample/audio_data.h')
-rw-r--r-- | libavresample/audio_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavresample/audio_data.h b/libavresample/audio_data.h index 97236bb5de..1541976583 100644 --- a/libavresample/audio_data.h +++ b/libavresample/audio_data.h @@ -29,6 +29,8 @@ #include "avresample.h" #include "internal.h" +int ff_sample_fmt_is_planar(enum AVSampleFormat sample_fmt, int channels); + /** * Audio buffer used for intermediate storage between conversion phases. */ |