[FFmpeg-devel] [PATCH 1/2] avformat/vag: Remove unused variable pos

Michael Niedermayer michael at niedermayer.cc
Sun Oct 18 20:31:41 CEST 2015


On Sun, Oct 18, 2015 at 12:40:56AM +0200, Paul B Mahol wrote:
> On 10/17/15, Michael Niedermayer <michaelni at gmx.at> wrote:
> > From: Michael Niedermayer <michael at niedermayer.cc>
> >
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  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;
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> 
> ok

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151018/ee54e54f/attachment.sig>


More information about the ffmpeg-devel mailing list