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
4037d5e1
Commit
4037d5e1
authored
May 14, 2024
by
Tomas Härdin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/speedhqenc: Require width to be a multiple of 16
parent
017a18b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
speedhqenc.c
libavcodec/speedhqenc.c
+6
-0
No files found.
libavcodec/speedhqenc.c
View file @
4037d5e1
...
...
@@ -104,6 +104,12 @@ av_cold int ff_speedhq_encode_init(MpegEncContext *s)
return
AVERROR
(
EINVAL
);
}
// border is not implemented correctly at the moment, see ticket #10078
if
(
s
->
width
%
16
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"width must be a multiple of 16
\n
"
);
return
AVERROR_PATCHWELCOME
;
}
s
->
min_qcoeff
=
-
2048
;
s
->
max_qcoeff
=
2047
;
...
...
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