Browse Source

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

Originally committed as revision 3004 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Steven M. Schultz Michael Niedermayer 21 years ago
parent
commit
3ec34bfdb2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/mov.c

+ 2
- 0
libavformat/mov.c View File

@@ -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 */
get_be16(pb);
c->mp4=1;
{
MOV_atom_t a = { format, url_ftell(pb), size - (20 + 20 + 8) };
mov_read_default(c, pb, a);
}
/* Get correct sample rate from extradata */
if(st->codec.extradata_size) {
const int samplerate_table[] = {


Loading…
Cancel
Save