mpeg12: move closed_gop from MpegEncContext to Mpeg1Context
[ffmpeg.git] / libavcodec / mpegvideo.c
index c1cd1f7..effc9b7 100644 (file)
@@ -2404,7 +2404,6 @@ void ff_mpeg_flush(AVCodecContext *avctx){
     s->current_picture_ptr = s->last_picture_ptr = s->next_picture_ptr = NULL;
 
     s->mb_x= s->mb_y= 0;
-    s->closed_gop= 0;
 
     s->parse_context.state= -1;
     s->parse_context.frame_start_found= 0;