[FFmpeg-cvslog] r25490 - trunk/tools/probetest.c
aurel
subversion
Fri Oct 15 16:44:18 CEST 2010
Author: aurel
Date: Fri Oct 15 16:44:18 2010
New Revision: 25490
Log:
probetest: replace usage of deprecated first_iformat by av_iformat_next()
Modified:
trunk/tools/probetest.c
Modified: trunk/tools/probetest.c
==============================================================================
--- trunk/tools/probetest.c Fri Oct 15 16:25:36 2010 (r25489)
+++ trunk/tools/probetest.c Fri Oct 15 16:44:18 2010 (r25490)
@@ -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) {
More information about the ffmpeg-cvslog
mailing list