Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
0d6a6c87
Commit
0d6a6c87
authored
Dec 01, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/cfhdenc: height < 4 is not supported
parent
4d38d460
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
cfhdenc.c
libavcodec/cfhdenc.c
+5
-0
No files found.
libavcodec/cfhdenc.c
View file @
0d6a6c87
...
...
@@ -258,6 +258,11 @@ static av_cold int cfhd_encode_init(AVCodecContext *avctx)
if
(
ret
<
0
)
return
ret
;
if
(
avctx
->
height
<
4
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Height must be >= 4.
\n
"
);
return
AVERROR_INVALIDDATA
;
}
if
(
avctx
->
width
&
15
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Width must be multiple of 16.
\n
"
);
return
AVERROR_INVALIDDATA
;
...
...
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