diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-14 11:11:49 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-14 11:11:49 +0000 |
commit | cfcbf57e548ac8c5e77c78378dd7c0c854d89506 (patch) | |
tree | f0bc96717d8ded4f1963c04d031c2d8f7e394758 /libmpcodecs | |
parent | 9fefbedb17ed427336200e29ec0a63f04b7cd135 (diff) | |
download | mpv-cfcbf57e548ac8c5e77c78378dd7c0c854d89506.tar.bz2 mpv-cfcbf57e548ac8c5e77c78378dd7c0c854d89506.tar.xz |
Return NULL instead of 0 for function returning a pointer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30565 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_theora.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vd_theora.c b/libmpcodecs/vd_theora.c index 6f6fb16610..b63915b23a 100644 --- a/libmpcodecs/vd_theora.c +++ b/libmpcodecs/vd_theora.c @@ -171,7 +171,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags) { mp_msg(MSGT_DEMUX,MSGL_ERR,"Theora decode YUVout failed: %i \n", errorCode); - return 0; + return NULL; } mpi = mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, 0, yuv.y_width, yuv.y_height); |