]> git.sesse.net Git - vlc/commitdiff
Another workaround to not forbid development
authorRafaël Carré <funman@videolan.org>
Thu, 29 May 2008 10:57:34 +0000 (12:57 +0200)
committerRafaël Carré <funman@videolan.org>
Thu, 29 May 2008 10:57:34 +0000 (12:57 +0200)
I should do a real fix within a short time
Probably using vlc_gc_* for picture_t

modules/video_filter/scale.c

index 727420c3f60e4ca7f270916bd27478a56ecb481a..5e9d2f05e5b7ad8949458be3cb55519ca44a3d69 100644 (file)
@@ -234,6 +234,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
     p_pic_dst->b_progressive = p_pic->b_progressive;
     p_pic_dst->b_top_field_first = p_pic->b_top_field_first;
 
-    p_pic->pf_release( p_pic );
+    if( p_pic->pf_release )
+        p_pic->pf_release( p_pic );
     return p_pic_dst;
 }