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
feec9349
Commit
feec9349
authored
Apr 20, 2013
by
Hendrik Leppkes
Committed by
Anton Khirnov
Apr 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: unref cur/next/prev frames when flushing
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
6a8561db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mpegvideo.c
libavcodec/mpegvideo.c
+4
-0
No files found.
libavcodec/mpegvideo.c
View file @
feec9349
...
...
@@ -2358,6 +2358,10 @@ void ff_mpeg_flush(AVCodecContext *avctx){
ff_mpeg_unref_picture
(
s
,
&
s
->
picture
[
i
]);
s
->
current_picture_ptr
=
s
->
last_picture_ptr
=
s
->
next_picture_ptr
=
NULL
;
ff_mpeg_unref_picture
(
s
,
&
s
->
current_picture
);
ff_mpeg_unref_picture
(
s
,
&
s
->
last_picture
);
ff_mpeg_unref_picture
(
s
,
&
s
->
next_picture
);
s
->
mb_x
=
s
->
mb_y
=
0
;
s
->
parse_context
.
state
=
-
1
;
...
...
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