[FFmpeg-soc] [soc]: r3578 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Sun Aug 24 13:55:26 CEST 2008


Author: ramiro
Date: Sun Aug 24 13:55:25 2008
New Revision: 3578

Log:
Don't return uninitialized value for first frames.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Sun Aug 24 13:55:25 2008
@@ -1647,7 +1647,7 @@ static int mlp_encode_frame(AVCodecConte
                             void *data)
 {
     MLPEncodeContext *ctx = avctx->priv_data;
-    unsigned int bytes_written;
+    unsigned int bytes_written = 0;
     unsigned int substr;
     int restart_frame;
 



More information about the FFmpeg-soc mailing list