[FFmpeg-cvslog] avformat/vag: Remove unused variable pos

Michael Niedermayer git at videolan.org
Sun Oct 18 20:45:45 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Oct 17 23:35:29 2015 +0200| [94f7c97e05737c2856bb08e2172b012a56568bdc] | committer: Michael Niedermayer

avformat/vag: Remove unused variable pos

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavformat/vag.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/vag.c b/libavformat/vag.c
index 2209711..d3cd5ba 100644
--- a/libavformat/vag.c
+++ b/libavformat/vag.c
@@ -34,7 +34,6 @@ static int vag_probe(AVProbeData *p)
 static int vag_read_header(AVFormatContext *s)
 {
     AVStream *st;
-    int64_t pos;
 
     st = avformat_new_stream(s, NULL);
     if (!st)
@@ -53,7 +52,6 @@ static int vag_read_header(AVFormatContext *s)
     st->codec->sample_rate = avio_rb32(s->pb);
     if (st->codec->sample_rate <= 0)
         return AVERROR_INVALIDDATA;
-    pos = avio_tell(s->pb);
     avio_seek(s->pb, 0x1000, SEEK_SET);
     if (avio_rl32(s->pb) == MKTAG('V','A','G','p')) {
         st->codec->block_align = 0x1000 * st->codec->channels;



More information about the ffmpeg-cvslog mailing list