#include <vlc_vout.h>
#include <vlc_codec.h>
-#include <mpeg2dec/mpeg2.h>
+#include <mpeg2.h>
#include <vlc_codec_synchro.h>
p_block->i_buffer = 0;
break;
-#ifdef STATE_SEQUENCE_MODIFIED
-/* FIXME - the above ifdef is always FALSE, even with libmpeg2-0.5.0
- * Need to improve the implementation to avoid invalid/unref pictures */
+#if MPEG2_RELEASE >= MPEG2_VERSION (0, 5, 0)
case STATE_SEQUENCE_MODIFIED:
GetAR( p_dec );