Mercurial > mplayer.hg
changeset 30523:9ac2056fc4df
Return NULL instead of 0 for function returning a pointer.
author | reimar |
---|---|
date | Sun, 14 Feb 2010 11:11:49 +0000 |
parents | 969a093964a9 |
children | b4a3bfcbc86c |
files | libmpcodecs/vd_theora.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_theora.c Sun Feb 14 11:09:58 2010 +0000 +++ b/libmpcodecs/vd_theora.c Sun Feb 14 11:11:49 2010 +0000 @@ -171,7 +171,7 @@ { 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);