Quoting Diego Biurrun (2016-02-21 15:05:16)
> On Sun, Feb 21, 2016 at 12:53:24PM +0100, Anton Khirnov wrote:
> > --- a/avprobe.c
> > +++ b/avprobe.c
> > @@ -780,39 +780,12 @@ static int open_input_file(AVFormatContext 
> > **fmt_ctx_ptr, const char *filename)
> >  
> >  static void close_input_file(AVFormatContext **ctx_ptr)
> >  {
> > -    int i;
> > -    AVFormatContext *fmt_ctx = *ctx_ptr;
> > -
> > -    /* close decoder for each stream */
> > -    for (i = 0; i < fmt_ctx->nb_streams; i++) {
> > -        AVStream *stream = fmt_ctx->streams[i];
> > -
> > -        avcodec_close(stream->codec);
> > -    }
> >      avformat_close_input(ctx_ptr);
> >  }
> 
> Is there a point in keeping this function?  It's just a wrapper now.

Might become useful later.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to