]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_profile.c
Fix crash regression in commit 44be0cb (SF-195).
[mlt] / src / framework / mlt_profile.c
index 06fa2c3212b505f4c9d9cfe1e2aeda601568e3dd..bb496eb3cd3353dda4024d871e5f36f3407cfbb2 100644 (file)
@@ -402,7 +402,7 @@ mlt_properties mlt_profile_list( )
 void mlt_profile_from_producer( mlt_profile profile, mlt_producer producer )
 {
        mlt_frame fr = NULL;
-       uint8_t *buffer;
+       uint8_t *buffer = NULL;
        mlt_image_format fmt = mlt_image_none;
        mlt_properties p;
        int w = profile->width;