diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 877ee08b0ce0c20248a4db23b2a722d2d768272c..2c24787e4842caee6b1db1e904031184bc70427f 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2192,6 +2192,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
     }
 
     h->thread_context[0] = h;
+    h->outputed_poc = INT_MIN;
     return 0;
 }