comparison h264.c @ 7360:ce31f986474c libavcodec

100l cross_idr simplification had a typo
author michael
date Wed, 23 Jul 2008 14:59:55 +0000
parents 1980cae356ad
children f749afdac1e4
comparison
equal deleted inserted replaced
7359:1980cae356ad 7360:ce31f986474c
7885 for(i=1; h->delayed_pic[i] && h->delayed_pic[i]->poc; i++) 7885 for(i=1; h->delayed_pic[i] && h->delayed_pic[i]->poc; i++)
7886 if(h->delayed_pic[i]->poc < out->poc){ 7886 if(h->delayed_pic[i]->poc < out->poc){
7887 out = h->delayed_pic[i]; 7887 out = h->delayed_pic[i];
7888 out_idx = i; 7888 out_idx = i;
7889 } 7889 }
7890 cross_idr = !h->delayed_pic[0]->poc || !h->delayed_pic[i]; 7890 cross_idr = !h->delayed_pic[0]->poc || !!h->delayed_pic[i];
7891 7891
7892 out_of_order = !cross_idr && out->poc < h->outputed_poc; 7892 out_of_order = !cross_idr && out->poc < h->outputed_poc;
7893 7893
7894 if(h->sps.bitstream_restriction_flag && s->avctx->has_b_frames >= h->sps.num_reorder_frames) 7894 if(h->sps.bitstream_restriction_flag && s->avctx->has_b_frames >= h->sps.num_reorder_frames)
7895 { } 7895 { }