aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-02-01 19:21:01 +0100
committerPaul B Mahol <onemda@gmail.com>2017-02-01 19:21:01 +0100
commitc279c44a3aaa68a447bb7065af567cb7bf0ee26f (patch)
treefdfaf9052d4bd0eb4339ba756167095a469f2af1
parentc61b28e0421f0f9502dfb21495a03cda191def15 (diff)
downloadffmpeg-c279c44a3aaa68a447bb7065af567cb7bf0ee26f.tar.gz
avformat/msf: support codec 1, which is 16 bit pcm le
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavformat/msf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/msf.c b/libavformat/msf.c
index d7af0a3893..6bd18f29bd 100644
--- a/libavformat/msf.c
+++ b/libavformat/msf.c
@@ -64,6 +64,7 @@ static int msf_read_header(AVFormatContext *s)
// avio_rb32(s->pb); /* byte flags with encoder info */
switch (codec) {
case 0: st->codecpar->codec_id = AV_CODEC_ID_PCM_S16BE; break;
+ case 1: st->codecpar->codec_id = AV_CODEC_ID_PCM_S16LE; break;
case 3: st->codecpar->block_align = 16 * st->codecpar->channels;
st->codecpar->codec_id = AV_CODEC_ID_ADPCM_PSX; break;
case 4: