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
076ab9f7
Commit
076ab9f7
authored
Jun 18, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix all VDPAU decoders.
Fixes ticket #3726.
parent
a740cae4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mpegvideo.c
libavcodec/mpegvideo.c
+3
-0
No files found.
libavcodec/mpegvideo.c
View file @
076ab9f7
...
...
@@ -434,6 +434,9 @@ static int frame_size_alloc(MpegEncContext *s, int linesize)
{
int
alloc_size
=
FFALIGN
(
FFABS
(
linesize
)
+
64
,
32
);
if
(
s
->
avctx
->
hwaccel
||
s
->
avctx
->
codec
->
capabilities
&
CODEC_CAP_HWACCEL_VDPAU
)
return
0
;
if
(
linesize
<
24
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Image too small, temporary buffers cannot function
\n
"
);
return
AVERROR_PATCHWELCOME
;
...
...
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