projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c61b28e
)
avformat/msf: support codec 1, which is 16 bit pcm le
author
Paul B Mahol
<onemda@gmail.com>
Wed, 1 Feb 2017 18:21:01 +0000
(19:21 +0100)
committer
Paul B Mahol
<onemda@gmail.com>
Wed, 1 Feb 2017 18:21:01 +0000
(19:21 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/msf.c
patch
|
blob
|
history
diff --git
a/libavformat/msf.c
b/libavformat/msf.c
index
d7af0a3
..
6bd18f2
100644
(file)
--- 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: