# HG changeset patch # User bcoudurier # Date 1159465968 0 # Node ID 5825a7bc0d9674ae4116f999beda24c99ada9968 # Parent a95c384900ab48dbc1601d880f456e602e5e495d change codec id if sample size field is set to 24 in stsd, fix Sony-mx5p.mov diff -r a95c384900ab -r 5825a7bc0d96 mov.c --- 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;