aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJeff Downs <heydowns@borg.com>2008-07-27 13:49:04 +0000
committerJeff Downs <heydowns@borg.com>2008-07-27 13:49:04 +0000
commit18c7be650181a8532c5127e558b254ab55e351a2 (patch)
treeee02c37087977ee4eb29a09c410f56fc37d71c51 /libavcodec
parent143d7f144337eeb708aebc91f83a9f6b87e1823d (diff)
downloadffmpeg-18c7be650181a8532c5127e558b254ab55e351a2.tar.gz
Initialize outputed_poc to INT_MIN at decoder initialization.
Fixes issue 560 Originally committed as revision 14428 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
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;
}