Commit 18b79e82 authored by Laurent Aimar's avatar Laurent Aimar

Fixed ogg demuxer with non xiph extra header (close #3379).

parent 11a72334
......@@ -673,7 +673,8 @@ static void Ogg_DecodePacket( demux_t *p_demux,
p_stream->p_headers = realloc( p_stream->p_headers, p_stream->i_headers );
if( p_stream->p_headers )
{
memcpy( p_stream->p_headers, p_oggpacket->packet, p_stream->i_headers );
memcpy( p_stream->p_headers + p_stream->i_headers - p_oggpacket->bytes,
p_oggpacket->packet, p_stream->i_headers );
}
else
{
......
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