changeset 7789:5c532e05faea libavcodec

Fix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures and subsequent zero POC value.
author michael
date Thu, 04 Sep 2008 12:21:06 +0000
parents ffd4b1364b62
children 209a9ad96a6c
files h264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Thu Sep 04 11:03:14 2008 +0000
+++ b/h264.c	Thu Sep 04 12:21:06 2008 +0000
@@ -2215,6 +2215,7 @@
 
     h->thread_context[0] = h;
     h->outputed_poc = INT_MIN;
+    h->prev_poc_msb= 1<<16;
     return 0;
 }