diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-18 00:35:29 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-18 21:43:02 +0300 |
commit | 94f7c97e05737c2856bb08e2172b012a56568bdc (patch) | |
tree | 62bdf8412c525440e5cbf7d66650ee3f9f392d6a | |
parent | 416e35e5aafc2a2bf77372d5e8479c28796d1451 (diff) |
avformat/vag: Remove unused variable pos
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/vag.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/vag.c b/libavformat/vag.c index 2209711989..d3cd5ba672 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; |