aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-24 15:38:15 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-24 15:38:15 +0000
commit0dd39bfe5d5177a961cdcd64996261a58aff7289 (patch)
tree2c2a86e06f556cc3ec9c558501820aa86830b22a /libavformat/mov.c
parenta66abcb1b5977e34c5b3a1d4a921a6c965383c0a (diff)
downloadffmpeg-0dd39bfe5d5177a961cdcd64996261a58aff7289.tar.gz
Quicktime creates S8 that way too
Originally committed as revision 5208 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index dcad884a21..6e6cddd748 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1073,6 +1073,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st->codec->sample_rate = ((get_be32(pb) >> 16));
switch (st->codec->codec_id) {
+ case CODEC_ID_PCM_S16LE:
case CODEC_ID_PCM_S16BE:
if (st->codec->bits_per_sample == 8)
st->codec->codec_id = CODEC_ID_PCM_S8;