You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
fix sound of SampleVideo.mov (mp2 in mov)
Originally committed as revision 6191 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1065,6 +1065,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
|
|||||||
st->codec->sample_rate= 8000;
|
st->codec->sample_rate= 8000;
|
||||||
st->codec->channels= 1; /* really needed */
|
st->codec->channels= 1; /* really needed */
|
||||||
break;
|
break;
|
||||||
|
case CODEC_ID_MP2:
|
||||||
|
st->need_parsing = 1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user