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
This commit is contained in:
reimar 2010-02-14 11:11:49 +00:00
parent 9fefbedb17
commit cfcbf57e54
1 changed files with 1 additions and 1 deletions

View File

@ -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", mp_msg(MSGT_DEMUX,MSGL_ERR,"Theora decode YUVout failed: %i \n",
errorCode); errorCode);
return 0; return NULL;
} }
mpi = mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, 0, yuv.y_width, yuv.y_height); mpi = mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, 0, yuv.y_width, yuv.y_height);