Commit 22a6253a authored by Diego Biurrun's avatar Diego Biurrun

ifo_read: Do not compare integer variable against NULL

src/ifo_read.c:1303:34: warning: comparison between pointer and integer [enabled by default]
parent 2ab8c9fa
......@@ -1310,7 +1310,7 @@ int ifoRead_PTL_MAIT(ifo_handle_t *ifofile) {
if(!ifofile->vmgi_mat)
return 0;
if(ifofile->vmgi_mat->ptl_mait == 0)
if(!ifofile->vmgi_mat->ptl_mait)
return 1;
if(!DVDFileSeek_(ifofile->file, ifofile->vmgi_mat->ptl_mait * DVD_BLOCK_LEN))
......
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