[FFmpeg-soc] [soc]: r3827 - dirac/libavcodec/dirac.c

conrad subversion at mplayerhq.hu
Tue Nov 11 09:38:37 CET 2008


Author: conrad
Date: Tue Nov 11 09:38:37 2008
New Revision: 3827

Log:
Avoid frame_rate may be used uninitialized


Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Tue Nov 11 09:38:37 2008
@@ -180,7 +180,7 @@ void dirac_dump_source_parameters(AVCode
 static int parse_source_parameters(GetBitContext *gb, AVCodecContext *avctx,
                                    dirac_source_params *source)
 {
-    AVRational frame_rate;
+    AVRational frame_rate = (AVRational){0,0};
     unsigned luma_depth, chroma_depth;
 
     /* Override the luma dimensions. */



More information about the FFmpeg-soc mailing list