Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
cc5aad0a
Commit
cc5aad0a
authored
Aug 14, 2006
by
hartman
Browse files
* first sps, then pps
parent
4598f227
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/packetizer/h264.c
View file @
cc5aad0a
...
...
@@ -215,8 +215,8 @@ static int Open( vlc_object_t *p_this )
/* Set the new extradata */
p_dec
->
fmt_out
.
i_extra
=
p_sys
->
p_pps
->
i_buffer
+
p_sys
->
p_sps
->
i_buffer
;
p_dec
->
fmt_out
.
p_extra
=
(
uint8_t
*
)
malloc
(
p_dec
->
fmt_out
.
i_extra
);
memcpy
(
p_dec
->
fmt_out
.
p_extra
,
p_sys
->
p_
p
ps
->
p_buffer
,
p_sys
->
p_
p
ps
->
i_buffer
);
memcpy
(
p_dec
->
fmt_out
.
p_extra
+
p_sys
->
p_
p
ps
->
i_buffer
,
p_sys
->
p_
s
ps
->
p_buffer
,
p_sys
->
p_
s
ps
->
i_buffer
);
memcpy
(
p_dec
->
fmt_out
.
p_extra
,
p_sys
->
p_
s
ps
->
p_buffer
,
p_sys
->
p_
s
ps
->
i_buffer
);
memcpy
(
p_dec
->
fmt_out
.
p_extra
+
p_sys
->
p_
s
ps
->
i_buffer
,
p_sys
->
p_
p
ps
->
p_buffer
,
p_sys
->
p_
p
ps
->
i_buffer
);
/* Set callback */
p_dec
->
pf_packetize
=
PacketizeAVC1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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