From fbc0b8659967ea54a8472b5f795270d38bb085dd Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Fri, 18 Jul 2014 17:39:01 -0400 Subject: 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 --- libavresample/audio_data.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavresample/audio_data.h') 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. */ -- cgit v1.2.3