[vlc-devel] commit: libmpeg2: user_data has been available since 0.3.2 ( Derk-Jan Hartman )

git version control git at videolan.org
Thu Oct 2 21:40:12 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu Oct  2 21:12:15 2008 +0200| [2b73786266205faa3e7b18f1d2dd33d459b3aa2f] | committer: Derk-Jan Hartman 

libmpeg2: user_data has been available since 0.3.2

Since we require libmpeg > 0.3.2 there is no need for this check.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b73786266205faa3e7b18f1d2dd33d459b3aa2f
---

 modules/codec/libmpeg2.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c
index b586e20..8a5b7d9 100644
--- a/modules/codec/libmpeg2.c
+++ b/modules/codec/libmpeg2.c
@@ -453,7 +453,6 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
                 mpeg2_set_buf( p_sys->p_mpeg2dec, buf, p_pic );
                 mpeg2_stride( p_sys->p_mpeg2dec, p_pic->p[Y_PLANE].i_pitch );
             }
-#if MPEG2_RELEASE >= MPEG2_VERSION (0, 5, 0)
             if( p_sys->p_info->user_data_len > 2 )
             {
                 p_sys->i_cc_pts = i_pts;
@@ -468,7 +467,6 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
 
                 cc_Extract( &p_sys->cc, &p_sys->p_info->user_data[0], p_sys->p_info->user_data_len );
             }
-#endif
         }
         break;
 




More information about the vlc-devel mailing list