comparison h264.c @ 7361:f749afdac1e4 libavcodec

Better explanation for buf_size==0 code.
author michael
date Wed, 23 Jul 2008 17:24:11 +0000
parents ce31f986474c
children 443fdc440854
comparison
equal deleted inserted replaced
7360:ce31f986474c 7361:f749afdac1e4
7728 int buf_index; 7728 int buf_index;
7729 7729
7730 s->flags= avctx->flags; 7730 s->flags= avctx->flags;
7731 s->flags2= avctx->flags2; 7731 s->flags2= avctx->flags2;
7732 7732
7733 /* no supplementary picture */ 7733 /* end of stream, output whats still in the buffers */
7734 if (buf_size == 0) { 7734 if (buf_size == 0) {
7735 Picture *out; 7735 Picture *out;
7736 int i, out_idx; 7736 int i, out_idx;
7737 7737
7738 //FIXME factorize this with the output code below 7738 //FIXME factorize this with the output code below