Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
44664b09
Commit
44664b09
authored
Aug 24, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accepts pgmyuv extension
Originally committed as revision 2152 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
22b37f5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pnm.c
libavformat/pnm.c
+2
-2
No files found.
libavformat/pnm.c
View file @
44664b09
...
@@ -395,7 +395,7 @@ static int pnm_probe(AVProbeData *pd)
...
@@ -395,7 +395,7 @@ static int pnm_probe(AVProbeData *pd)
p
[
0
]
==
'P'
&&
p
[
0
]
==
'P'
&&
p
[
1
]
>=
'4'
&&
p
[
1
]
<=
'6'
&&
p
[
1
]
>=
'4'
&&
p
[
1
]
<=
'6'
&&
p
[
2
]
==
'\n'
)
p
[
2
]
==
'\n'
)
return
AVPROBE_SCORE_MAX
;
return
AVPROBE_SCORE_MAX
-
1
;
/* to permit pgmyuv probe */
else
else
return
0
;
return
0
;
}
}
...
@@ -468,7 +468,7 @@ AVImageFormat pam_image_format = {
...
@@ -468,7 +468,7 @@ AVImageFormat pam_image_format = {
AVImageFormat
pgmyuv_image_format
=
{
AVImageFormat
pgmyuv_image_format
=
{
"pgmyuv"
,
"pgmyuv"
,
NULL
,
"pgmyuv"
,
pgmyuv_probe
,
pgmyuv_probe
,
pgmyuv_read
,
pgmyuv_read
,
(
1
<<
PIX_FMT_YUV420P
),
(
1
<<
PIX_FMT_YUV420P
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment