[vlc-devel] commit: Use the correct test (Christophe Mutricy )
git version control
git at videolan.org
Thu Jul 17 21:50:08 CEST 2008
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Thu Jul 17 00:21:02 2008 +0100| [9a72071ae6439b02fccf03e209d8aff4326dd1c4]
Use the correct test
Refs #791
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a72071ae6439b02fccf03e209d8aff4326dd1c4
---
modules/codec/libmpeg2.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c
index f088638..13ec4c5 100644
--- a/modules/codec/libmpeg2.c
+++ b/modules/codec/libmpeg2.c
@@ -294,9 +294,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
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 );
More information about the vlc-devel
mailing list