comparison h264.c @ 7390:7abedf6425d8 libavcodec

10000l, forgotton }
author michael
date Fri, 25 Jul 2008 12:25:28 +0000
parents 8ef2e8f077ff
children f04e3411ef31
comparison
equal deleted inserted replaced
7389:8ef2e8f077ff 7390:7abedf6425d8
3578 3578
3579 h->short_ref[0]= s->current_picture_ptr; 3579 h->short_ref[0]= s->current_picture_ptr;
3580 h->short_ref[0]->long_ref=0; 3580 h->short_ref[0]->long_ref=0;
3581 h->short_ref_count++; 3581 h->short_ref_count++;
3582 s->current_picture_ptr->reference |= s->picture_structure; 3582 s->current_picture_ptr->reference |= s->picture_structure;
3583 }
3583 } 3584 }
3584 3585
3585 if (h->long_ref_count + h->short_ref_count > h->sps.ref_frame_count){ 3586 if (h->long_ref_count + h->short_ref_count > h->sps.ref_frame_count){
3586 3587
3587 /* We have too many reference frames, probably due to corrupted 3588 /* We have too many reference frames, probably due to corrupted