OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
105c3d2
)
Patch for PPM probing by (Rob Joyce <rjoyce at twcny dot rr dot com>)
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 24 Nov 2003 17:59:56 +0000
(17:59 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 24 Nov 2003 17:59:56 +0000
(17:59 +0000)
Originally committed as revision 2528 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/pnm.c
patch
|
blob
|
history
diff --git
a/libavformat/pnm.c
b/libavformat/pnm.c
index
a831e21
..
fb4d3d2
100644
(file)
--- a/
libavformat/pnm.c
+++ b/
libavformat/pnm.c
@@
-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'
)
+ p
nm_space(p[2])
)
return AVPROBE_SCORE_MAX - 1; /* to permit pgmyuv probe */
else
return 0;