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
b9556507
Commit
b9556507
authored
Dec 13, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msmpeg4dec: restore error concealment functionality after merge
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c9cab022
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
msmpeg4.c
libavcodec/msmpeg4.c
+1
-1
No files found.
libavcodec/msmpeg4.c
View file @
b9556507
...
@@ -1810,7 +1810,7 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
...
@@ -1810,7 +1810,7 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
i
-=
192
;
i
-=
192
;
if
(
i
&
(
~
63
)){
if
(
i
&
(
~
63
)){
const
int
left
=
get_bits_left
(
&
s
->
gb
);
const
int
left
=
get_bits_left
(
&
s
->
gb
);
if
(((
i
+
192
==
64
&&
level
/
qmul
==-
1
)
||
!
(
s
->
err_recognition
&
AV_EF_BITSTREAM
))
&&
left
>=
0
){
if
(((
i
+
192
==
64
&&
level
/
qmul
==-
1
)
||
!
(
s
->
err_recognition
&
(
AV_EF_BITSTREAM
|
AV_EF_COMPLIANT
)
))
&&
left
>=
0
){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"ignoring overflow at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"ignoring overflow at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
break
;
break
;
}
else
{
}
else
{
...
...
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