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
390703fc
Commit
390703fc
authored
Apr 30, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mpeg12dec: Do not choke on extra m704 alpha data
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
a67816bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mpeg12dec.c
libavcodec/mpeg12dec.c
+4
-0
No files found.
libavcodec/mpeg12dec.c
View file @
390703fc
...
...
@@ -1896,6 +1896,10 @@ static int mpeg_decode_slice(MpegEncContext *s, int mb_y,
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Invalid MXF data found in video stream
\n
"
);
is_d10
=
1
;
}
if
(
left
>
32
&&
show_bits_long
(
&
gb
,
32
)
==
0x201
)
{
av_log
(
avctx
,
AV_LOG_DEBUG
,
"skipping m704 alpha (unsupported)
\n
"
);
goto
eos
;
}
}
if
(
left
<
0
||
...
...
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