[vlc-commits] stream: remove pointless cast
Rémi Denis-Courmont
git at videolan.org
Thu Jun 26 17:36:23 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jun 26 18:35:52 2014 +0300| [f704267663b5a97345b01df218a9ef727abd35b6] | committer: Rémi Denis-Courmont
stream: remove pointless cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f704267663b5a97345b01df218a9ef727abd35b6
---
src/input/stream.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/input/stream.c b/src/input/stream.c
index d5bb61f..1532bf4 100644
--- a/src/input/stream.c
+++ b/src/input/stream.c
@@ -290,9 +290,9 @@ stream_t *stream_AccessNew( access_t *p_access, char **ppsz_list )
return NULL;
}
- s->pf_read = (void *)AStreamGenericError; /* Replaced later */
- s->pf_peek = (void *)AStreamGenericError;
- s->pf_readdir = (void *)AStreamGenericError;
+ s->pf_read = AStreamGenericError; /* Replaced later */
+ s->pf_peek = AStreamGenericError;
+ s->pf_readdir = AStreamGenericError;
s->pf_control = AStreamControl;
s->pf_destroy = AStreamDestroy;
More information about the vlc-commits
mailing list