[vlc-devel] commit: Removed useless real video code in avcodec. (Laurent Aimar )
git version control
git at videolan.org
Wed Dec 17 21:09:28 CET 2008
vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Sun Dec 14 16:37:46 2008 +0100| [3fdcbbdd03151909fd1e02119e2aba7c9d3accee] | committer: Jean-Baptiste Kempf
Removed useless real video code in avcodec.
(cherry picked from commit 94086c17556b9a49007150246f9421c3eaa3831a)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3fdcbbdd03151909fd1e02119e2aba7c9d3accee
---
modules/codec/avcodec/video.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index a24a9c1..2baffa8 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -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;
More information about the vlc-devel
mailing list