Mercurial > libavformat.hg
changeset 1029:6ddc77441867 libavformat
Quicktime creates S8 that way too
author | bcoudurier |
---|---|
date | Fri, 24 Mar 2006 15:38:15 +0000 |
parents | ed0b03fddd01 |
children | 1aabcccb2efa |
files | mov.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Fri Mar 24 15:25:43 2006 +0000 +++ b/mov.c Fri Mar 24 15:38:15 2006 +0000 @@ -1073,6 +1073,7 @@ 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;