]> git.sesse.net Git - vlc/blobdiff - modules/access/v4l.c
avcodec: Allow usage of VLC_CODEC_RGBA
[vlc] / modules / access / v4l.c
index 995afc0b316c5ddc6eb71879630bd533b48cb4de..fb866eaa49855aa710083363f4c815a19e4212b6 100644 (file)
@@ -444,7 +444,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
 
         case DEMUX_GET_PTS_DELAY:
             pi64 = (int64_t*)va_arg( args, int64_t * );
-            *pi64 = (int64_t)var_GetInteger( p_demux, "v4l-caching" ) * 1000;
+            *pi64 = var_GetInteger( p_demux, "v4l-caching" ) * 1000;
             return VLC_SUCCESS;
 
         case DEMUX_GET_TIME: