Return NULL iso 0
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 26 Oct 2007 08:33:55 +0000 (08:33 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 26 Oct 2007 08:33:55 +0000 (08:33 +0000)
modules/codec/ffmpeg/scale.c

index 68f655f..c9eafa0 100644 (file)
@@ -262,7 +262,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
     int i_nb_planes = p_pic->i_planes;
 
     /* Check if format properties changed */
-    if( CheckInit( p_filter ) != VLC_SUCCESS ) return 0;
+    if( CheckInit( p_filter ) != VLC_SUCCESS ) return NULL;
 
     /* Request output picture */
     p_pic_dst = p_filter->pf_vout_buffer_new( p_filter );