Commit 2d4abf53 authored by Laurent Aimar's avatar Laurent Aimar

Fixed handling of extra data in wav demuxer.

parent 9c03cb3d
...@@ -291,7 +291,7 @@ static int Open( vlc_object_t * p_this ) ...@@ -291,7 +291,7 @@ static int Open( vlc_object_t * p_this )
p_sys->fmt.i_extra = 0; p_sys->fmt.i_extra = 0;
goto error; goto error;
} }
memcpy( p_sys->fmt.p_extra, ((uint8_t *)p_wf) + i_extended, memcpy( p_sys->fmt.p_extra, (uint8_t *)p_wf + sizeof( WAVEFORMATEX ) + i_extended,
p_sys->fmt.i_extra ); p_sys->fmt.i_extra );
} }
......
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