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
cb84c12f
Commit
cb84c12f
authored
Apr 30, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mpeg12dec: Print position in end mismatch error
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
390703fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mpeg12dec.c
libavcodec/mpeg12dec.c
+2
-2
No files found.
libavcodec/mpeg12dec.c
View file @
cb84c12f
...
...
@@ -1905,8 +1905,8 @@ static int mpeg_decode_slice(MpegEncContext *s, int mb_y,
if
(
left
<
0
||
(
left
&&
show_bits
(
&
s
->
gb
,
FFMIN
(
left
,
23
))
&&
!
is_d10
)
||
((
avctx
->
err_recognition
&
(
AV_EF_BITSTREAM
|
AV_EF_AGGRESSIVE
))
&&
left
>
8
))
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"end mismatch left=%d %0X
\n
"
,
left
,
left
>
0
?
show_bits
(
&
s
->
gb
,
FFMIN
(
left
,
23
))
:
0
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"end mismatch left=%d %0X
at %d %d
\n
"
,
left
,
left
>
0
?
show_bits
(
&
s
->
gb
,
FFMIN
(
left
,
23
))
:
0
,
s
->
mb_x
,
s
->
mb_y
);
return
AVERROR_INVALIDDATA
;
}
else
goto
eos
;
...
...
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