Commit adb2ecca authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Remove useless test.

p_sys cannot be null here.
parent 0d2aad25
...@@ -437,7 +437,7 @@ static void ParseHeader( decoder_t *p_dec, block_t *p_block ) ...@@ -437,7 +437,7 @@ static void ParseHeader( decoder_t *p_dec, block_t *p_block )
p_sys->i_image_length = p_sys->i_spu_size - p_sys->i_image_offset; p_sys->i_image_length = p_sys->i_spu_size - p_sys->i_image_offset;
p_sys->metadata_length = p_sys->i_image_offset; p_sys->metadata_length = p_sys->i_image_offset;
if (p_sys && p_sys->i_debug & DECODE_DBG_PACKET) if( p_sys->i_debug & DECODE_DBG_PACKET )
{ {
msg_Dbg( p_dec, "x-start: %d, y-start: %d, width: %d, height %d, " msg_Dbg( p_dec, "x-start: %d, y-start: %d, width: %d, height %d, "
"spu size: %zu, duration: %"PRIu64" (d:%zu p:%"PRIu16")", "spu size: %zu, duration: %"PRIu64" (d:%zu p:%"PRIu16")",
......
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