Commit 6da0b6e9 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Use NULL for initializing pointers iso 0.

parent 3ef003a4
...@@ -263,7 +263,7 @@ subpicture_region_t *__spu_CreateRegion( vlc_object_t *p_this, ...@@ -263,7 +263,7 @@ subpicture_region_t *__spu_CreateRegion( vlc_object_t *p_this,
malloc( sizeof(video_palette_t) ); malloc( sizeof(video_palette_t) );
else p_fmt->p_palette = p_region->fmt.p_palette = NULL; else p_fmt->p_palette = p_region->fmt.p_palette = NULL;
p_region->picture.p_data_orig = 0; p_region->picture.p_data_orig = NULL;
if( p_fmt->i_chroma == VLC_FOURCC('T','E','X','T') ) return p_region; if( p_fmt->i_chroma == VLC_FOURCC('T','E','X','T') ) return p_region;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment