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;
 
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to