[FFmpeg-cvslog] lavf/omadec: Remove an unsed variable.

Carl Eugen Hoyos git at videolan.org
Sat Feb 11 16:55:43 EET 2017


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Feb 11 13:17:20 2017 +0100| [7ff445874be1832c4398f6648d863de17eae2e93] | committer: Carl Eugen Hoyos

lavf/omadec: Remove an unsed variable.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ff445874be1832c4398f6648d863de17eae2e93
---

 libavformat/omadec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);



More information about the ffmpeg-cvslog mailing list