[vlc-devel] commit: Another workaround to not forbid development ( Rafaël Carré )

git version control git at videolan.org
Thu May 29 12:55:58 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu May 29 12:57:34 2008 +0200| [ec2fa76559c37cd7dce42538d6e9f659d9bc0e42]

Another workaround to not forbid development

I should do a real fix within a short time
Probably using vlc_gc_* for picture_t

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ec2fa76559c37cd7dce42538d6e9f659d9bc0e42
---

 modules/video_filter/scale.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/scale.c b/modules/video_filter/scale.c
index 727420c..5e9d2f0 100644
--- a/modules/video_filter/scale.c
+++ b/modules/video_filter/scale.c
@@ -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;
 }




More information about the vlc-devel mailing list