1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

probetest: replace usage of deprecated first_iformat by av_iformat_next()

Originally committed as revision 25490 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2010-10-15 14:44:18 +00:00
parent 114c9a5925
commit ad2d0fdf25

View File

@ -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) {