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
248dc5c1
Commit
248dc5c1
authored
Feb 23, 2017
by
John Stebbins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264dec: fix dropped initial SEI recovery point
parent
8e4d4efc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
h264dec.c
libavcodec/h264dec.c
+1
-1
No files found.
libavcodec/h264dec.c
View file @
248dc5c1
...
...
@@ -452,7 +452,6 @@ void ff_h264_flush_change(H264Context *h)
if
(
h
->
cur_pic_ptr
)
h
->
cur_pic_ptr
->
reference
=
0
;
h
->
first_field
=
0
;
ff_h264_sei_uninit
(
&
h
->
sei
);
h
->
recovery_frame
=
-
1
;
h
->
frame_recovered
=
0
;
}
...
...
@@ -466,6 +465,7 @@ static void flush_dpb(AVCodecContext *avctx)
memset
(
h
->
delayed_pic
,
0
,
sizeof
(
h
->
delayed_pic
));
ff_h264_flush_change
(
h
);
ff_h264_sei_uninit
(
&
h
->
sei
);
for
(
i
=
0
;
i
<
H264_MAX_PICTURE_COUNT
;
i
++
)
ff_h264_unref_picture
(
h
,
&
h
->
DPB
[
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