Commit 9a72071a authored by Christophe Mutricy's avatar Christophe Mutricy

Use the correct test

Refs #791
parent 8134316d
...@@ -294,9 +294,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) ...@@ -294,9 +294,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
p_block->i_buffer = 0; p_block->i_buffer = 0;
break; break;
#ifdef STATE_SEQUENCE_MODIFIED #if MPEG2_RELEASE >= MPEG2_VERSION (0, 5, 0)
/* FIXME - the above ifdef is always FALSE, even with libmpeg2-0.5.0
* Need to improve the implementation to avoid invalid/unref pictures */
case STATE_SEQUENCE_MODIFIED: case STATE_SEQUENCE_MODIFIED:
GetAR( p_dec ); GetAR( p_dec );
......
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