Better explanation for buf_size==0 code.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Jul 2008 17:24:11 +0000 (17:24 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Jul 2008 17:24:11 +0000 (17:24 +0000)
Originally committed as revision 14353 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 0497624..2bf0cc1 100644 (file)
@@ -7730,7 +7730,7 @@ static int decode_frame(AVCodecContext *avctx,
     s->flags= avctx->flags;
     s->flags2= avctx->flags2;
 
-   /* no supplementary picture */
+   /* end of stream, output whats still in the buffers */
     if (buf_size == 0) {
         Picture *out;
         int i, out_idx;