Message ID | 201702111318.08121.cehoyos@ag.or.at |
---|---|
State | Accepted |
Commit | 7ff445874be1832c4398f6648d863de17eae2e93 |
Headers | show |
On 2/11/17, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote: > Hi! > > Attached patch fixes a compilation warning. > > Please comment, Carl Eugen > patch lgtm
2017-02-11 14:32 GMT+01:00 Paul B Mahol <onemda@gmail.com>: > On 2/11/17, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote: >> Hi! >> >> Attached patch fixes a compilation warning. >> >> Please comment, Carl Eugen >> > > patch lgtm Patch applied. Thank you, Carl Eugen
diff --git a/libavformat/omadec.c b/libavformat/omadec.c index 076da78..321e77e 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);
Hi! Attached patch fixes a compilation warning. Please comment, Carl Eugen From bce13fbff1b9394fd3e89c7387f9d96e43934fb0 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <cehoyos@ag.or.at> 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(-)