[FFmpeg-cvslog] r9054 - trunk/libavcodec/huffyuv.c

lorenm subversion
Fri May 18 10:56:47 CEST 2007


Author: lorenm
Date: Fri May 18 10:56:46 2007
New Revision: 9054

Log:
r3938 broke 2pass huffyuv (not that anyone uses it)


Modified:
   trunk/libavcodec/huffyuv.c

Modified: trunk/libavcodec/huffyuv.c
==============================================================================
--- trunk/libavcodec/huffyuv.c	(original)
+++ trunk/libavcodec/huffyuv.c	Fri May 18 10:56:46 2007
@@ -1309,11 +1309,11 @@ static int encode_frame(AVCodecContext *
             snprintf(p, end-p, "\n");
             p++;
         }
-    }
+    } else
+        avctx->stats_out[0] = '\0';
     if(!(s->avctx->flags2 & CODEC_FLAG2_NO_OUTPUT)){
         flush_put_bits(&s->pb);
         s->dsp.bswap_buf((uint32_t*)buf, (uint32_t*)buf, size);
-        avctx->stats_out[0] = '\0';
     }
 
     s->picture_number++;




More information about the ffmpeg-cvslog mailing list