Skip to content

Commit

Permalink
Fix deprecation in libavformat usage
Browse files Browse the repository at this point in the history
Use avformat_find_stream_info instead of deprecated av_find_stream_info.
  • Loading branch information
wipple authored and golgol7777 committed Aug 2, 2011
1 parent 4acf766 commit 8af95e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/audio/lavf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8af95e7

Please sign in to comment.