diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-02-11 13:17:20 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-02-11 15:55:11 +0100 |
commit | 7ff445874be1832c4398f6648d863de17eae2e93 (patch) | |
tree | 3a82b097c6aa13394bf489f702f878bb3b60a3c0 /libavformat/omadec.c | |
parent | 280a40dd2739e9a23bf6372752dcd133ff36e149 (diff) |
lavf/omadec: Remove an unsed variable.
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r-- | libavformat/omadec.c | 4 |
1 files 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); |