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
141a8468
Commit
141a8468
authored
May 06, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mpeg4videodec: fix mcbpc error messages
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2baf1c8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+3
-3
No files found.
libavcodec/mpeg4videodec.c
View file @
141a8468
...
...
@@ -614,7 +614,7 @@ static int mpeg4_decode_partition_a(Mpeg4DecContext *ctx)
cbpc
=
get_vlc2
(
&
s
->
gb
,
ff_h263_intra_MCBPC_vlc
.
table
,
INTRA_MCBPC_VLC_BITS
,
2
);
if
(
cbpc
<
0
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"cbpc corrupted at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
"
m
cbpc corrupted at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
return
-
1
;
}
}
while
(
cbpc
==
8
);
...
...
@@ -686,7 +686,7 @@ try_again:
cbpc
=
get_vlc2
(
&
s
->
gb
,
ff_h263_inter_MCBPC_vlc
.
table
,
INTER_MCBPC_VLC_BITS
,
2
);
if
(
cbpc
<
0
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"cbpc corrupted at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
"
m
cbpc corrupted at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
return
-
1
;
}
if
(
cbpc
==
20
)
...
...
@@ -1333,7 +1333,7 @@ static int mpeg4_decode_mb(MpegEncContext *s, int16_t block[6][64])
cbpc
=
get_vlc2
(
&
s
->
gb
,
ff_h263_inter_MCBPC_vlc
.
table
,
INTER_MCBPC_VLC_BITS
,
2
);
if
(
cbpc
<
0
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"cbpc damaged at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
"
m
cbpc damaged at %d %d
\n
"
,
s
->
mb_x
,
s
->
mb_y
);
return
-
1
;
}
}
while
(
cbpc
==
20
);
...
...
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