From 7ff445874be1832c4398f6648d863de17eae2e93 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 11 Feb 2017 13:17:20 +0100 Subject: [PATCH] lavf/omadec: Remove an unsed variable. --- libavformat/omadec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/omadec.c b/libavformat/omadec.c index 076da78536..321e77ea81 100644 --- a/libavformat/omadec.c +++ b/libavformat/omadec.c @@ -345,7 +345,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) static int aal_read_packet(AVFormatContext *s, AVPacket *pkt) { int64_t pos = avio_tell(s->pb); - int ret, type, pts; + int ret, pts; int packet_size; unsigned tag; @@ -358,7 +358,7 @@ static int aal_read_packet(AVFormatContext *s, AVPacket *pkt) else if (tag != MKBETAG(0,'B','L','K')) return AVERROR_INVALIDDATA; - type = avio_r8(s->pb); + avio_skip(s->pb, 1); packet_size = avio_rb16(s->pb); avio_skip(s->pb, 2); pts = avio_rb32(s->pb);