Commit 0e01a926 authored by bcoudurier's avatar bcoudurier

change codec id if sample size field is set to 24 in stsd, fix Sony-mx5p.mov

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6371 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 642d2f5b
......@@ -977,6 +977,8 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment