Commit 17ebc0bf authored by Rémi Duraffort's avatar Rémi Duraffort

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

parent 8c60ce97
...@@ -318,16 +318,13 @@ static block_t * CDDAReadBlocks( access_t * p_access ) ...@@ -318,16 +318,13 @@ static block_t * CDDAReadBlocks( access_t * p_access )
} }
} }
else else
{
rc = cdio_read_audio_sectors( p_cdda->p_cdio, p_block->p_buffer, rc = cdio_read_audio_sectors( p_cdda->p_cdio, p_block->p_buffer,
p_cdda->i_lsn, i_blocks ); p_cdda->i_lsn, i_blocks );
#else #else
#define DRIVER_OP_SUCCESS 0 #define DRIVER_OP_SUCCESS 0
int rc; int rc = cdio_read_audio_sectors( p_cdda->p_cdio, p_block->p_buffer,
rc = cdio_read_audio_sectors( p_cdda->p_cdio, p_block->p_buffer,
p_cdda->i_lsn, i_blocks); p_cdda->i_lsn, i_blocks);
#endif #endif
}
if( rc != DRIVER_OP_SUCCESS ) if( rc != DRIVER_OP_SUCCESS )
{ {
msg_Err( p_access, "could not read %d sectors starting from %lu", 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