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
e32bbd41
Commit
e32bbd41
authored
May 18, 2013
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proresdec2: Only try to decode alpha plane if four output planes were allocated.
Fixes a crash with MPlayer.
parent
c86d3a54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
proresdec2.c
libavcodec/proresdec2.c
+1
-1
No files found.
libavcodec/proresdec2.c
View file @
e32bbd41
...
...
@@ -591,7 +591,7 @@ static int decode_slice_thread(AVCodecContext *avctx, void *arg, int jobnr, int
qmat_chroma_scaled
,
log2_chroma_blocks_per_mb
);
}
/* decode alpha plane if available */
if
(
ctx
->
alpha_info
&&
dest_a
&&
a_data_size
)
if
(
ctx
->
alpha_info
&&
pic
->
data
[
3
]
&&
a_data_size
)
decode_slice_alpha
(
ctx
,
(
uint16_t
*
)
dest_a
,
luma_stride
,
buf
+
y_data_size
+
u_data_size
+
v_data_size
,
a_data_size
,
slice
->
mb_count
);
...
...
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