summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-01 17:26:27 +0100
committerMans Rullgard <mans@mansr.com>2011-06-02 20:06:00 +0100
commite65ab9d94f1c8d8893e32d90467d9525625d306a (patch)
tree032ea02dc36a1510af2807848d961f024e8a052e /libavcodec/mpeg12.c
parent808d8ff6bb92e641cdd99a0b06767eabd707b925 (diff)
Remove unused variables
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 82c2987b90..0e1536f7ab 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -2128,14 +2128,13 @@ static void mpeg_decode_gop(AVCodecContext *avctx,
Mpeg1Context *s1 = avctx->priv_data;
MpegEncContext *s = &s1->mpeg_enc_ctx;
- int drop_frame_flag;
int time_code_hours, time_code_minutes;
int time_code_seconds, time_code_pictures;
int broken_link;
init_get_bits(&s->gb, buf, buf_size*8);
- drop_frame_flag = get_bits1(&s->gb);
+ skip_bits1(&s->gb); /* drop_frame_flag */
time_code_hours=get_bits(&s->gb,5);
time_code_minutes = get_bits(&s->gb,6);