[MPlayer-cvslog] r35492 - trunk/stream/stream_ftp.c
al
subversion at mplayerhq.hu
Tue Nov 27 00:42:37 CET 2012
Author: al
Date: Tue Nov 27 00:42:36 2012
New Revision: 35492
Log:
stream ftp: Remove unneeded cast
At worst these kind of casts can hide real errors. As it is, it is
just not needed at all, thus remove it.
Modified:
trunk/stream/stream_ftp.c
Modified: trunk/stream/stream_ftp.c
==============================================================================
--- trunk/stream/stream_ftp.c Tue Nov 27 00:39:56 2012 (r35491)
+++ trunk/stream/stream_ftp.c Tue Nov 27 00:42:36 2012 (r35492)
@@ -413,7 +413,7 @@ static void close_f(stream_t *s) {
static int open_f(stream_t *stream,int mode, void* opts, av_unused int* file_format) {
int resp;
int64_t len = 0;
- struct stream_priv_s* p = (struct stream_priv_s*)opts;
+ struct stream_priv_s* p = opts;
char rsp_txt[256];
if(mode != STREAM_READ) {
More information about the MPlayer-cvslog
mailing list