Commit 2e511714 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix compilation (thanks to cppcheck developpers to notice this bug)

(cherry picked from commit 17ebc0bf)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 614ff902
......@@ -318,16 +318,13 @@ static block_t * CDDAReadBlocks( access_t * p_access )
}
}
else
{
rc = cdio_read_audio_sectors( p_cdda->p_cdio, p_block->p_buffer,
p_cdda->i_lsn, i_blocks );
#else
#define DRIVER_OP_SUCCESS 0
int rc;
rc = cdio_read_audio_sectors( p_cdda->p_cdio, p_block->p_buffer,
int rc = cdio_read_audio_sectors( p_cdda->p_cdio, p_block->p_buffer,
p_cdda->i_lsn, i_blocks);
#endif
}
if( rc != DRIVER_OP_SUCCESS )
{
msg_Err( p_access, "could not read %d sectors starting from %lu",
......
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