aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-01-29 20:06:30 -0800
committerChris Robinson <[email protected]>2012-01-29 20:06:30 -0800
commite870c22f874bb05ed2dfc11ec2880e94336d23be (patch)
tree2506897d9e344434c54e95203203155a52dc6f3d /examples
parentfd6f03cf74a2d3504e439722d8897c590934c533 (diff)
av_find_stream_info is also deprecated, in favor of avformat_find_stream_info
Diffstat (limited to 'examples')
-rw-r--r--examples/alffmpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/alffmpeg.c b/examples/alffmpeg.c
index 3aee158c..b6619a57 100644
--- a/examples/alffmpeg.c
+++ b/examples/alffmpeg.c
@@ -171,7 +171,7 @@ FilePtr openAVFile(const char *fname)
{
/* After opening, we must search for the stream information because not
* all formats will have it in stream headers */
- if(av_find_stream_info(file->FmtCtx) >= 0)
+ if(avformat_find_stream_info(file->FmtCtx, NULL) >= 0)
return file;
av_close_input_file(file->FmtCtx);
}
@@ -203,7 +203,7 @@ FilePtr openAVData(const char *name, char *buffer, size_t buffer_len)
MemData_seek);
if(file->FmtCtx->pb && avformat_open_input(&file->FmtCtx, name, NULL, NULL) == 0)
{
- if(av_find_stream_info(file->FmtCtx) >= 0)
+ if(avformat_find_stream_info(file->FmtCtx, NULL) >= 0)
return file;
}
av_close_input_file(file->FmtCtx);
@@ -234,7 +234,7 @@ FilePtr openAVCustom(const char *name, void *user_data,
read_packet, write_packet, seek);
if(file->FmtCtx->pb && avformat_open_input(&file->FmtCtx, name, NULL, NULL) == 0)
{
- if(av_find_stream_info(file->FmtCtx) >= 0)
+ if(avformat_find_stream_info(file->FmtCtx, NULL) >= 0)
return file;
}
av_close_input_file(file->FmtCtx);