Mercurial > libavformat.hg
diff mov.c @ 438:b3fdae08c556 libavformat
libavformat/mov.c fails with gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
author | michael |
---|---|
date | Mon, 12 Apr 2004 17:40:31 +0000 |
parents | fe91c780d26a |
children | aeb69a5f3756 |
line wrap: on
line diff
--- a/mov.c Mon Apr 12 16:50:03 2004 +0000 +++ b/mov.c Mon Apr 12 17:40:31 2004 +0000 @@ -1006,8 +1006,10 @@ 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[] = {