diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-07 19:33:21 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-07 20:14:47 +0200 |
commit | 179536420543048e9504955177d78365ba9d3722 (patch) | |
tree | 96a9412dfdbe291c66bb83a8048c06f227c969db /libavformat/avidec.c | |
parent | 8c3651f4a516a531a42e55e0bf4e83edb65a7b89 (diff) | |
download | ffmpeg-179536420543048e9504955177d78365ba9d3722.tar.gz |
Remove unused variables.
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 7e97b7b4c9..97f4e71c33 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -356,7 +356,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) AVIContext *avi = s->priv_data; AVIOContext *pb = s->pb; unsigned int tag, tag1, handler; - int codec_type, stream_index, frame_period, bit_rate; + int codec_type, stream_index, frame_period; unsigned int size; int i; AVStream *st; @@ -428,7 +428,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) /* AVI header */ /* using frame_period is bad idea */ frame_period = avio_rl32(pb); - bit_rate = avio_rl32(pb) * 8; + avio_rl32(pb); /* max. bytes per second */ avio_rl32(pb); avi->non_interleaved |= avio_rl32(pb) & AVIF_MUSTUSEINDEX; @@ -1303,7 +1303,7 @@ static int avi_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp { AVIContext *avi = s->priv_data; AVStream *st; - int i, index, j; + int i, index; int64_t pos, pos_min; AVIStream *ast; |