summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorSteven M. Schultz <sms@2bsd.com>2004-04-12 17:40:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-12 17:40:31 +0000
commit3ec34bfdb23fa1164e2c8f935a561dff556bbd16 (patch)
tree2aad0c56a2510fb061dbfba511745bf89e8a260a /libavformat/mov.c
parent8d14a25c3efdb5de526db872ca7b29b63a530044 (diff)
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
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index b325ceb6d7..c074178d6b 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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[] = {