Commit 3fdcbbdd authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Removed useless real video code in avcodec.

(cherry picked from commit 94086c17)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6ef11c7a
......@@ -733,25 +733,6 @@ static void ffmpeg_InitCodec( decoder_t *p_dec )
}
}
}
else if( p_dec->fmt_in.i_codec == VLC_FOURCC( 'R', 'V', '1', '0' ) ||
p_dec->fmt_in.i_codec == VLC_FOURCC( 'R', 'V', '1', '3' ) ||
p_dec->fmt_in.i_codec == VLC_FOURCC( 'R', 'V', '2', '0' ) )
{
if( p_dec->fmt_in.i_extra == 8 )
{
p_sys->p_context->extradata_size = 8;
p_sys->p_context->extradata = malloc( 8 );
if( p_sys->p_context->extradata )
{
memcpy( p_sys->p_context->extradata,
p_dec->fmt_in.p_extra, p_dec->fmt_in.i_extra );
p_sys->p_context->sub_id = ((uint32_t*)p_dec->fmt_in.p_extra)[1];
msg_Warn( p_dec, "using extra data for RV codec sub_id=%08x",
p_sys->p_context->sub_id );
}
}
}
else
{
p_sys->p_context->extradata_size = i_size;
......
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