Browse Source

probetest: replace usage of deprecated first_iformat by av_iformat_next()

Originally committed as revision 25490 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Aurelien Jacobs 15 years ago
parent
commit
ad2d0fdf25
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tools/probetest.c

+ 2
- 2
tools/probetest.c View File

@@ -30,9 +30,9 @@ static int failures = 0;
static void probe(AVProbeData *pd, int type, int p, int size) static void probe(AVProbeData *pd, int type, int p, int size)
{ {
int i = 0; 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) if (fmt->flags & AVFMT_NOFILE)
continue; continue;
if (fmt->read_probe) { if (fmt->read_probe) {


Loading…
Cancel
Save