diff options
author | Måns Rullgård <mans@mansr.com> | 2005-02-24 19:08:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-02-24 19:08:50 +0000 |
commit | 88730be65153f4a59916d971842fdaed3e0fd72b (patch) | |
tree | 1f49c5812d2382abb53df216aab8cabc3c3f56b9 /libavformat/mov.c | |
parent | 53513831da58cae7603dc01270c1cf8e4252eba0 (diff) | |
download | ffmpeg-88730be65153f4a59916d971842fdaed3e0fd72b.tar.gz |
kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 1378b97ec5..87acdd419f 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -415,12 +415,12 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) static int mov_read_ctab(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) { - unsigned int len; - MOV_ctab_t *t; #if 1 url_fskip(pb, atom.size); // for now #else VERY VERY BROKEN, NEVER execute this, needs rewrite + unsigned int len; + MOV_ctab_t *t; c->ctab = av_realloc(c->ctab, ++c->ctab_size); t = c->ctab[c->ctab_size]; t->seed = get_be32(pb); |