Commit c258eaba authored by Steve Lhomme's avatar Steve Lhomme
Browse files

audio.c: fix a compiler portability issue

parent d9c3e924
......@@ -123,7 +123,7 @@ int E_(InitAudioDec)( decoder_t *p_dec, AVCodecContext *p_context,
malloc( p_sys->p_context->extradata_size +
FF_INPUT_BUFFER_PADDING_SIZE );
memcpy( p_sys->p_context->extradata,
p_dec->fmt_in.p_extra + i_offset,
(char*)p_dec->fmt_in.p_extra + i_offset,
p_sys->p_context->extradata_size );
memset( (char*)p_sys->p_context->extradata +
p_sys->p_context->extradata_size, 0,
......
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