Permalink
Browse files

Fix deprecation in libavformat usage

Use avformat_find_stream_info instead of deprecated av_find_stream_info.
  • Loading branch information...
wipple authored and golgol7777 committed Aug 1, 2011
1 parent 4acf766 commit 8af95e7f6aa779a01499e76d305a3ab949a80cdb
Showing with 1 addition and 1 deletion.
  1. +1 −1 input/audio/lavf.c
@@ -79,7 +79,7 @@ static int init( hnd_t *handle, const char *opt_str )
goto fail;
}

if( av_find_stream_info( h->lavf ) < 0 )
if( avformat_find_stream_info( h->lavf, NULL ) < 0 )
{
AF_LOG_ERR( h, "could not find stream info\n" );
goto fail;

0 comments on commit 8af95e7

Please sign in to comment.