[vlc-commits] avformat: shut up warning (unsigned char -> uint8_t) ( cherry picked from commit 7df0345e7f8917ae534592caea34eba1bef4c26e)
Rafaël Carré
git at videolan.org
Sun Mar 4 22:42:01 CET 2012
vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Sat Mar 3 00:03:02 2012 +0900| [bfabdd55e8b750eb8d0f14a2ccf4a4cf6a72b60b] | committer: Rafaël Carré
avformat: shut up warning (unsigned char -> uint8_t) (cherry picked from commit 7df0345e7f8917ae534592caea34eba1bef4c26e)
Signed-off-by: KO Myung-Hun <komh at chollian.net>
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=bfabdd55e8b750eb8d0f14a2ccf4a4cf6a72b60b
---
modules/demux/avformat/demux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 1df07da..0fed02d 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -125,7 +125,7 @@ int OpenDemux( vlc_object_t *p_this )
msg_Dbg( p_demux, "trying url: %s", psz_url );
/* Init Probe data */
pd.filename = psz_url;
- if( ( pd.buf_size = stream_Peek( p_demux->s, &pd.buf, 2048 + 213 ) ) <= 0 )
+ if( ( pd.buf_size = stream_Peek( p_demux->s, (const uint8_t**)&pd.buf, 2048 + 213 ) ) <= 0 )
{
free( psz_url );
msg_Warn( p_demux, "cannot peek" );
More information about the vlc-commits
mailing list