For FFmpeg 0.7 branch: Treat AV_SAMPLE_FMT_NONE as S16 for encoders.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 26 Jul 2011 19:58:10 +0000 (21:58 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 26 Jul 2011 19:58:10 +0000 (21:58 +0200)
commitdcf1830a15a1e9ad1e16086369d55d8cb3a14e83
tree3651bd8e7001dc7b94a8912cf3742c0716b851ae
parent0a48a67e57873b938c49ca57b0629e3e33fe37db
For FFmpeg 0.7 branch: Treat AV_SAMPLE_FMT_NONE as S16 for encoders.

This fixes compatibility with e.g. pcm_a52 ALSA plugin which in
previous versions never set sample_fmt.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/utils.c