Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
c693e7b0
Commit
c693e7b0
authored
Mar 19, 2020
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/yuv4mpegdec: add support for 444alpha
parent
4eb5dfb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
yuv4mpegdec.c
libavformat/yuv4mpegdec.c
+1
-3
No files found.
libavformat/yuv4mpegdec.c
View file @
c693e7b0
...
@@ -124,9 +124,7 @@ static int yuv4_read_header(AVFormatContext *s)
...
@@ -124,9 +124,7 @@ static int yuv4_read_header(AVFormatContext *s)
}
else
if
(
strncmp
(
"422"
,
tokstart
,
3
)
==
0
)
{
}
else
if
(
strncmp
(
"422"
,
tokstart
,
3
)
==
0
)
{
pix_fmt
=
AV_PIX_FMT_YUV422P
;
pix_fmt
=
AV_PIX_FMT_YUV422P
;
}
else
if
(
strncmp
(
"444alpha"
,
tokstart
,
8
)
==
0
)
{
}
else
if
(
strncmp
(
"444alpha"
,
tokstart
,
8
)
==
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Cannot handle 4:4:4:4 "
pix_fmt
=
AV_PIX_FMT_YUVA444P
;
"YUV4MPEG stream.
\n
"
);
return
-
1
;
}
else
if
(
strncmp
(
"444"
,
tokstart
,
3
)
==
0
)
{
}
else
if
(
strncmp
(
"444"
,
tokstart
,
3
)
==
0
)
{
pix_fmt
=
AV_PIX_FMT_YUV444P
;
pix_fmt
=
AV_PIX_FMT_YUV444P
;
}
else
if
(
strncmp
(
"mono16"
,
tokstart
,
6
)
==
0
)
{
}
else
if
(
strncmp
(
"mono16"
,
tokstart
,
6
)
==
0
)
{
...
...
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