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
94011f99
Commit
94011f99
authored
Jun 16, 2016
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avodec/h264dec: fix compilation with -DTRACE
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
c4a82194
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
h264_cabac.c
libavcodec/h264_cabac.c
+1
-1
h264_cavlc.c
libavcodec/h264_cavlc.c
+1
-1
No files found.
libavcodec/h264_cabac.c
View file @
94011f99
...
...
@@ -1923,7 +1923,7 @@ int ff_h264_decode_mb_cabac(const H264Context *h, H264SliceContext *sl)
mb_xy
=
sl
->
mb_xy
=
sl
->
mb_x
+
sl
->
mb_y
*
h
->
mb_stride
;
ff_tlog
(
h
->
avctx
,
"pic:%d mb:%d/%d
\n
"
,
h
->
frame_num
,
sl
->
mb_x
,
sl
->
mb_y
);
ff_tlog
(
h
->
avctx
,
"pic:%d mb:%d/%d
\n
"
,
h
->
poc
.
frame_num
,
sl
->
mb_x
,
sl
->
mb_y
);
if
(
sl
->
slice_type_nos
!=
AV_PICTURE_TYPE_I
)
{
int
skip
;
/* a skipped mb needs the aff flag from the following mb */
...
...
libavcodec/h264_cavlc.c
View file @
94011f99
...
...
@@ -714,7 +714,7 @@ int ff_h264_decode_mb_cavlc(const H264Context *h, H264SliceContext *sl)
mb_xy
=
sl
->
mb_xy
=
sl
->
mb_x
+
sl
->
mb_y
*
h
->
mb_stride
;
ff_tlog
(
h
->
avctx
,
"pic:%d mb:%d/%d
\n
"
,
h
->
frame_num
,
sl
->
mb_x
,
sl
->
mb_y
);
ff_tlog
(
h
->
avctx
,
"pic:%d mb:%d/%d
\n
"
,
h
->
poc
.
frame_num
,
sl
->
mb_x
,
sl
->
mb_y
);
cbp
=
0
;
/* avoid warning. FIXME: find a solution without slowing
down the code */
if
(
sl
->
slice_type_nos
!=
AV_PICTURE_TYPE_I
)
{
...
...
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