diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 81b678b350..a4ede6f323 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2495,6 +2495,7 @@ static void frame_start(H264Context *h){ MPV_frame_start(s, s->avctx); ff_er_frame_start(s); + h->mmco_index=0; assert(s->linesize && s->uvlinesize);