Mercurial > mplayer.hg
changeset 31913:0aaca064dd5c
Format NULL-pointer check consistently.
author | reimar |
---|---|
date | Sat, 21 Aug 2010 09:47:08 +0000 |
parents | c8935911ca00 |
children | 579d0c6b4270 |
files | stream/stream_bd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_bd.c Sat Aug 21 09:46:06 2010 +0000 +++ b/stream/stream_bd.c Sat Aug 21 09:47:08 2010 +0000 @@ -181,7 +181,7 @@ mp_msg(MSGT_OPEN, MSGL_V, "KeyDB found Entry for DiscID:\n%s\n", line); vst = strstr(line, "| V |"); - if (vst == 0) + if (!vst) break; sscanf(&vst[6], "%32s", d); for (i = 0; i < 16; i++) {