mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
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
This commit is contained in:
parent
105c3d2521
commit
28ba74a686
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user