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