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
285c5f68
Commit
285c5f68
authored
Mar 30, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: move last_slice_type reset into decode_slice_header
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
11c3381c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
h264.c
libavcodec/h264.c
+1
-2
No files found.
libavcodec/h264.c
View file @
285c5f68
...
...
@@ -1772,9 +1772,7 @@ static int decode_update_thread_context(AVCodecContext *dst,
copy_picture_range
(
h
->
delayed_pic
,
h1
->
delayed_pic
,
MAX_DELAYED_PIC_COUNT
+
2
,
h
,
h1
);
h
->
last_slice_type
=
h1
->
last_slice_type
;
h
->
sync
=
h1
->
sync
;
memcpy
(
h
->
last_ref_count
,
h1
->
last_ref_count
,
sizeof
(
h
->
last_ref_count
));
if
(
context_reinitialized
)
h264_set_parameter_from_sps
(
h
);
...
...
@@ -3560,6 +3558,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
memset
(
h
->
slice_table
,
-
1
,
(
h
->
mb_height
*
h
->
mb_stride
-
1
)
*
sizeof
(
*
h
->
slice_table
));
}
h0
->
last_slice_type
=
-
1
;
}
if
(
h
!=
h0
&&
(
ret
=
clone_slice
(
h
,
h0
))
<
0
)
return
ret
;
...
...
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