Replace deprecated av_find_stream_info() by avformat_find_stream_info().

This commit is contained in:
Diego Biurrun
2011-08-26 17:40:07 +02:00
parent 5f677aac76
commit c960e67ad0
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -277,7 +277,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;
}