Commit 28ba74a6 authored by Michael Niedermayer's avatar Michael Niedermayer

Patch for PPM probing by (Rob Joyce <rjoyce at twcny dot rr dot com>)

Originally committed as revision 2528 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 105c3d25
......@@ -394,7 +394,7 @@ static int pnm_probe(AVProbeData *pd)
if (pd->buf_size >= 8 &&
p[0] == 'P' &&
p[1] >= '4' && p[1] <= '6' &&
p[2] == '\n')
pnm_space(p[2]) )
return AVPROBE_SCORE_MAX - 1; /* to permit pgmyuv probe */
else
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment