Ticket #5645: 341.patch

File 341.patch, 694 bytes (added by anonymous, 11 years ago)
  • libavcodec/h264.c

    commit 72d33d97b3e213ea13193a9aecfb7edaf37d355f
    Author: michael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
    Date:   Thu Sep 4 12:21:06 2008 +0000
    
        Fix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures and
        subsequent zero POC value.
        
        
        git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15194 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
    
    diff --git a/libavcodec/h264.c b/libavcodec/h264.c
    index 18b3ea4..98866c7 100644
    a b static av_cold int decode_init(AVCodecContext *avctx){ 
    22152215
    22162216    h->thread_context[0] = h;
    22172217    h->outputed_poc = INT_MIN;
     2218    h->prev_poc_msb= 1<<16;
    22182219    return 0;
    22192220}
    22202221