Mercurial > libavformat.hg
changeset 131:5bb5f3d201d6 libavformat
* uninitialized/unused vars cleanup
author | kabi |
---|---|
date | Mon, 12 May 2003 11:07:46 +0000 |
parents | f607ed6aa365 |
children | 9ca36221ae23 |
files | mov.c |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Mon May 12 10:59:18 2003 +0000 +++ b/mov.c Mon May 12 11:07:46 2003 +0000 @@ -383,7 +383,6 @@ { AVStream *st = c->fc->streams[c->fc->nb_streams-1]; int len = 0; - uint8_t *buf; uint32_t type; uint32_t ctype; @@ -576,8 +575,6 @@ static int mov_read_mdhd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) { - AVStream *st = c->fc->streams[c->fc->nb_streams-1]; - print_atom("mdhd", atom); get_byte(pb); /* version */ @@ -674,7 +671,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) { AVStream *st = c->fc->streams[c->fc->nb_streams-1]; - MOVStreamContext *sc = (MOVStreamContext *)st->priv_data; + //MOVStreamContext *sc = (MOVStreamContext *)st->priv_data; int entries, frames_per_sample; uint32_t format; @@ -924,7 +921,7 @@ static int mov_read_stts(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) { AVStream *st = c->fc->streams[c->fc->nb_streams-1]; - MOVStreamContext *sc = (MOVStreamContext *)st->priv_data; + //MOVStreamContext *sc = (MOVStreamContext *)st->priv_data; int entries, i; print_atom("stts", atom); @@ -1023,7 +1020,6 @@ static int mov_read_wide(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) { int err; - uint32_t type; #ifdef DEBUG print_atom("wide", atom); @@ -1038,7 +1034,7 @@ atom.type = get_le32(pb); atom.offset += 8; atom.size -= 8; - if (type != MKTAG('m', 'd', 'a', 't')) { + if (atom.type != MKTAG('m', 'd', 'a', 't')) { url_fskip(pb, atom.size); return 0; }