aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-15 14:44:18 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-15 14:44:18 +0000
commitad2d0fdf2519a413e8194d8cd641a230c612abc3 (patch)
tree421e0d691381151cfbe864af4177ec616ee2a7f7
parent114c9a592519358a16a6b2b4c8de24cdcb964961 (diff)
downloadffmpeg-ad2d0fdf2519a413e8194d8cd641a230c612abc3.tar.gz
probetest: replace usage of deprecated first_iformat by av_iformat_next()
Originally committed as revision 25490 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tools/probetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/probetest.c b/tools/probetest.c
index d1d77b37a5..b4bb5aea9e 100644
--- a/tools/probetest.c
+++ b/tools/probetest.c
@@ -30,9 +30,9 @@ static int failures = 0;
static void probe(AVProbeData *pd, int type, int p, int size)
{
int i = 0;
- AVInputFormat *fmt;
+ AVInputFormat *fmt = NULL;
- for (fmt = first_iformat; fmt != NULL; fmt = fmt->next) {
+ while ((fmt = av_iformat_next(fmt))) {
if (fmt->flags & AVFMT_NOFILE)
continue;
if (fmt->read_probe) {