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>
This commit is contained in:
Justin Ruggles
2014-07-18 17:39:01 -04:00
committed by Luca Barbato
parent 9f17685dfb
commit fbc0b86599
4 changed files with 16 additions and 12 deletions

View File

@@ -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.
*/