Remove the warning. thanks to Quovodis
authorChristophe Mutricy <xtophe@videolan.org>
Thu, 11 Jan 2007 23:37:25 +0000 (23:37 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 11 Jan 2007 23:37:25 +0000 (23:37 +0000)
modules/codec/ffmpeg/encoder.c

index a126135..38386d6 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 !=  AV_NOPTS_VALUE && frame.pts != 0 )
+    if ( frame.pts != (int64_t)  AV_NOPTS_VALUE && frame.pts != 0 )
     {
         if ( p_sys->i_last_pts == frame.pts )
         {