Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
94086c17
Commit
94086c17
authored
Dec 14, 2008
by
Laurent Aimar
Browse files
Removed useless real video code in avcodec.
parent
14f520d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/avcodec/video.c
View file @
94086c17
...
...
@@ -766,25 +766,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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment