Mercurial > libavcodec.hg
comparison h264.c @ 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 | 834a8f89b75e |
children | 8195c970d077 |
comparison
equal
deleted
inserted
replaced
7788:ffd4b1364b62 | 7789:5c532e05faea |
---|---|
2213 h->is_avc = 0; | 2213 h->is_avc = 0; |
2214 } | 2214 } |
2215 | 2215 |
2216 h->thread_context[0] = h; | 2216 h->thread_context[0] = h; |
2217 h->outputed_poc = INT_MIN; | 2217 h->outputed_poc = INT_MIN; |
2218 h->prev_poc_msb= 1<<16; | |
2218 return 0; | 2219 return 0; |
2219 } | 2220 } |
2220 | 2221 |
2221 static int frame_start(H264Context *h){ | 2222 static int frame_start(H264Context *h){ |
2222 MpegEncContext * const s = &h->s; | 2223 MpegEncContext * const s = &h->s; |