Commit 359dd302 authored by michael's avatar michael

libavformat/mov.c fails with gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3004 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 87d7c5db
...@@ -1006,8 +1006,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -1006,8 +1006,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st->codec.sample_rate = get_be16(pb); /* sample rate, not always correct */ st->codec.sample_rate = get_be16(pb); /* sample rate, not always correct */
get_be16(pb); get_be16(pb);
c->mp4=1; c->mp4=1;
{
MOV_atom_t a = { format, url_ftell(pb), size - (20 + 20 + 8) }; MOV_atom_t a = { format, url_ftell(pb), size - (20 + 20 + 8) };
mov_read_default(c, pb, a); mov_read_default(c, pb, a);
}
/* Get correct sample rate from extradata */ /* Get correct sample rate from extradata */
if(st->codec.extradata_size) { if(st->codec.extradata_size) {
const int samplerate_table[] = { const int samplerate_table[] = {
......
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