Commit 7df0345e authored by Rafaël Carré's avatar Rafaël Carré

avformat: shut up warning (unsigned char -> uint8_t)

parent a6ebc7d7
......@@ -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" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment