Better a compile warning than a bug. Thanks to Robert Stepanek.
authorChristophe Mutricy <xtophe@videolan.org>
Thu, 11 Jan 2007 23:33:02 +0000 (23:33 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 11 Jan 2007 23:33:02 +0000 (23:33 +0000)
modules/codec/ffmpeg/encoder.c

index 41c7fdb..a126135 100644 (file)
@@ -802,7 +802,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
         frame.pts = AV_NOPTS_VALUE;
     }
 
-    if ( frame.pts != (signed int) AV_NOPTS_VALUE && frame.pts != 0 )
+    if ( frame.pts !=  AV_NOPTS_VALUE && frame.pts != 0 )
     {
         if ( p_sys->i_last_pts == frame.pts )
         {