]> git.sesse.net Git - mlt/commitdiff
fix uninitialized vars (coverity-709430 & 709431)
authorDan Dennedy <dan@dennedy.org>
Mon, 23 Jul 2012 00:34:16 +0000 (17:34 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 23 Jul 2012 00:34:16 +0000 (17:34 -0700)
src/framework/mlt_frame.c

index 7d38d44e9f704fdf4db962cfaa0b0ac409cf924e..893be3d08c0493ec0fb7cc62eb6af6cf7143ad2b 100644 (file)
@@ -924,8 +924,8 @@ int64_t mlt_sample_calculator_to_now( float fps, int frequency, int64_t position
 
 void mlt_frame_write_ppm( mlt_frame frame )
 {
-       int width;
-       int height;
+       int width = 0;
+       int height = 0;
        mlt_image_format format = mlt_image_rgb24;
        uint8_t *image;