diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 18b3ea49e7..98866c77af 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2215,6 +2215,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ h->thread_context[0] = h; h->outputed_poc = INT_MIN; + h->prev_poc_msb= 1<<16; return 0; }