diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-12 20:36:05 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-17 01:53:50 +0100 |
commit | 81c6b8ffe87bf01c4ba7d22773b0aeda4376d37c (patch) | |
tree | 9c9a22385604114eea1479b17a10ab0ea3316cf2 /libavcodec/mpegvideo.c | |
parent | dd949124793c722ed55dead9da245574ace81968 (diff) | |
download | ffmpeg-81c6b8ffe87bf01c4ba7d22773b0aeda4376d37c.tar.gz |
avcodec/mpegvideo: Move closed_gop to Mpeg1Context
Only used there and only by the main thread.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index ba5b51955e..55399a7478 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -2317,7 +2317,6 @@ void ff_mpeg_flush(AVCodecContext *avctx){ ff_mpeg_unref_picture(s->avctx, &s->next_picture); s->mb_x= s->mb_y= 0; - s->closed_gop= 0; #if FF_API_FLAG_TRUNCATED s->parse_context.state= -1; |