Mercurial > libavformat.hg
changeset 1334:5825a7bc0d96 libavformat
change codec id if sample size field is set to 24 in stsd, fix Sony-mx5p.mov
author | bcoudurier |
---|---|
date | Thu, 28 Sep 2006 17:52:48 +0000 |
parents | a95c384900ab |
children | 2cbaaf63ce18 |
files | mov.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Wed Sep 27 21:19:47 2006 +0000 +++ b/mov.c Thu Sep 28 17:52:48 2006 +0000 @@ -977,6 +977,8 @@ case CODEC_ID_PCM_S16BE: if (st->codec->bits_per_sample == 8) st->codec->codec_id = CODEC_ID_PCM_S8; + else if (st->codec->bits_per_sample == 24) + st->codec->codec_id = CODEC_ID_PCM_S24BE; break; default: break;