comparison mpegvideo.c @ 341:bf26081c373c libavcodec

avcodec_flush_buffers()
author michaelni
date Wed, 24 Apr 2002 01:24:06 +0000
parents b743a6bbab25
children 9f6071a87e17
comparison
equal deleted inserted replaced
340:f24c77638413 341:bf26081c373c
627 627
628 if(s->pict_type!=B_TYPE){ 628 if(s->pict_type!=B_TYPE){
629 s->last_non_b_pict_type= s->pict_type; 629 s->last_non_b_pict_type= s->pict_type;
630 s->last_non_b_qscale= s->qscale; 630 s->last_non_b_qscale= s->qscale;
631 s->last_non_b_mc_mb_var= s->mc_mb_var; 631 s->last_non_b_mc_mb_var= s->mc_mb_var;
632 s->num_available_buffers++;
633 if(s->num_available_buffers>2) s->num_available_buffers= 2;
632 } 634 }
633 } 635 }
634 636
635 /* reorder input for encoding */ 637 /* reorder input for encoding */
636 void reorder_input(MpegEncContext *s, AVPicture *pict) 638 void reorder_input(MpegEncContext *s, AVPicture *pict)