[FFmpeg-soc] [soc]: r3877 - dirac/libavcodec/diracdec.c

conrad subversion at mplayerhq.hu
Sat Dec 6 03:01:11 CET 2008


Author: conrad
Date: Sat Dec  6 03:01:10 2008
New Revision: 3877

Log:
Fix warning about uninitalized variables


Modified:
   dirac/libavcodec/diracdec.c

Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c	(original)
+++ dirac/libavcodec/diracdec.c	Sat Dec  6 03:01:10 2008
@@ -903,8 +903,8 @@ int dirac_decode_frame(AVCodecContext *a
     DiracContext *s = avctx->priv_data;
     AVFrame *picture = data;
     int i;
-    int parse_code;
-    unsigned data_unit_size, buf_read = 0;
+    int parse_code = pc_padding;
+    unsigned data_unit_size = buf_size, buf_read = 0;
 
     // release unused frames
     for (i = 0; i < MAX_FRAMES; i++)



More information about the FFmpeg-soc mailing list