]> git.sesse.net Git - vlc/commitdiff
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 a126135662d42c065ffc85689754c5bfc9740ab7..38386d65d723348e383ea11da2875cce8c5dd638 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 )
         {