[FFmpeg-devel] [PATCH 6/6] ffprobe: fix deprecated call to av_find_stream_info.

Clément Bœsch ubitux at gmail.com
Fri Aug 26 14:34:57 CEST 2011


On Wed, Aug 17, 2011 at 11:24:57PM +0200, Stefano Sabatini wrote:
> On date Wednesday 2011-08-17 20:32:07 +0200, Clément Bœsch encoded:
> > ---
> >  ffprobe.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/ffprobe.c b/ffprobe.c
> > index 876cc5e..b3f36fb 100644
> > --- a/ffprobe.c
> > +++ b/ffprobe.c
> > @@ -322,7 +322,7 @@ static int open_input_file(AVFormatContext **fmt_ctx_ptr, const char *filename)
> >  
> >  
> >      /* fill the streams in the format context */
> > -    if ((err = av_find_stream_info(fmt_ctx)) < 0) {
> > +    if ((err = avformat_find_stream_info(fmt_ctx, NULL)) < 0) {
> >          print_error(filename, err);
> >          return err;
> 
> OK if works as expected, and thanks.

Pushed.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110826/a703d01d/attachment.asc>


More information about the ffmpeg-devel mailing list