From 18c7be650181a8532c5127e558b254ab55e351a2 Mon Sep 17 00:00:00 2001 From: Jeff Downs Date: Sun, 27 Jul 2008 13:49:04 +0000 Subject: [PATCH] Initialize outputed_poc to INT_MIN at decoder initialization. Fixes issue 560 Originally committed as revision 14428 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 877ee08b0c..2c24787e48 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; }