Revision 79f4494a

View differences:

libavcodec/h264.c
3269 3269
    if (pic->reference &= refmask) {
3270 3270
        return 0;
3271 3271
    } else {
3272
            for(i = 0; h->delayed_pic[i]; i++)
3273
                if(pic == h->delayed_pic[i]){
3274
                    pic->reference=DELAYED_PIC_REF;
3275
                    break;
3276
                }
3272
        for(i = 0; h->delayed_pic[i]; i++)
3273
            if(pic == h->delayed_pic[i]){
3274
                pic->reference=DELAYED_PIC_REF;
3275
                break;
3276
            }
3277 3277
        return 1;
3278 3278
    }
3279 3279
}

Also available in: Unified diff