[vlc-commits] record: remove redundant cast
Rémi Denis-Courmont
git at videolan.org
Wed Apr 19 19:51:10 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:43:04 2017 +0300| [3b3750b6621144a54d5bb2415a830e710472c135] | committer: Rémi Denis-Courmont
record: remove redundant cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b3750b6621144a54d5bb2415a830e710472c135
---
modules/stream_filter/record.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/stream_filter/record.c b/modules/stream_filter/record.c
index 2ddb276e68..5185d12d89 100644
--- a/modules/stream_filter/record.c
+++ b/modules/stream_filter/record.c
@@ -143,7 +143,7 @@ static int Control( stream_t *s, int i_query, va_list args )
bool b_active = (bool)va_arg( args, int );
const char *psz_extension = NULL;
if( b_active )
- psz_extension = (const char*)va_arg( args, const char* );
+ psz_extension = va_arg( args, const char* );
if( !sys->f == !b_active )
return VLC_SUCCESS;
More information about the vlc-commits
mailing list