Hi!

Attached patch fixes a compilation warning.

Please comment, Carl Eugen
From bce13fbff1b9394fd3e89c7387f9d96e43934fb0 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceho...@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(-)

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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to