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
fc06ee6e
Commit
fc06ee6e
authored
Oct 26, 2013
by
Vittorio Giovara
Committed by
Anton Khirnov
Oct 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmvideo: fix uninitialized variable use in mm_decode_intra
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
211ca69b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mmvideo.c
libavcodec/mmvideo.c
+2
-1
No files found.
libavcodec/mmvideo.c
View file @
fc06ee6e
...
@@ -126,7 +126,8 @@ static int mm_decode_intra(MmContext * s, int half_horiz, int half_vert)
...
@@ -126,7 +126,8 @@ static int mm_decode_intra(MmContext * s, int half_horiz, int half_vert)
*/
*/
static
int
mm_decode_inter
(
MmContext
*
s
,
int
half_horiz
,
int
half_vert
)
static
int
mm_decode_inter
(
MmContext
*
s
,
int
half_horiz
,
int
half_vert
)
{
{
int
data_off
=
bytestream2_get_le16
(
&
s
->
gb
),
y
;
int
data_off
=
bytestream2_get_le16
(
&
s
->
gb
);
int
y
=
0
;
GetByteContext
data_ptr
;
GetByteContext
data_ptr
;
if
(
bytestream2_get_bytes_left
(
&
s
->
gb
)
<
data_off
)
if
(
bytestream2_get_bytes_left
(
&
s
->
gb
)
<
data_off
)
...
...
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