diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-05-29 21:07:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-30 00:24:01 +0200 |
commit | adba9c63525b8971fc6ccda47e643dca05c3ee9d (patch) | |
tree | 7f4521c4ceaf684a4cdc4f8b57db30a4364c35e0 /libavformat/smacker.c | |
parent | fd38a15adf7f4e20f25d89f162e4a8fbbd8ec92e (diff) | |
download | ffmpeg-adba9c63525b8971fc6ccda47e643dca05c3ee9d.tar.gz |
Fix various unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/smacker.c')
-rw-r--r-- | libavformat/smacker.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/smacker.c b/libavformat/smacker.c index 2603a4d71c..29a66e79fa 100644 --- a/libavformat/smacker.c +++ b/libavformat/smacker.c @@ -233,7 +233,6 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt) int i; int frame_size = 0; int palchange = 0; - int pos; if (url_feof(s->pb) || smk->cur_frame >= smk->frames) return AVERROR_EOF; @@ -244,7 +243,6 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt) frame_size = smk->frm_size[smk->cur_frame] & (~3); flags = smk->frm_flags[smk->cur_frame]; /* handle palette change event */ - pos = avio_tell(s->pb); if(flags & SMACKER_PAL){ int size, sz, t, off, j, pos; uint8_t *pal = smk->pal; |