Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
7ff5a3f7
Commit
7ff5a3f7
authored
Jan 09, 2018
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hxxx_helper: reset h264/hevc struct to 0 on clean
parent
5d3cc23b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/codec/hxxx_helper.c
modules/codec/hxxx_helper.c
+2
-0
No files found.
modules/codec/hxxx_helper.c
View file @
7ff5a3f7
...
...
@@ -71,6 +71,7 @@ hxxx_helper_clean(struct hxxx_helper *hh)
h264_release_sps
(
hnal
->
h264_sps
));
RELEASE_NALS
(
hh
->
h264
.
pps_list
,
H264_PPS_ID_MAX
,
h264_release_pps
(
hnal
->
h264_pps
));
memset
(
&
hh
->
h264
,
0
,
sizeof
(
hh
->
h264
));
break
;
case
VLC_CODEC_HEVC
:
RELEASE_NALS
(
hh
->
hevc
.
vps_list
,
HEVC_VPS_ID_MAX
,
...
...
@@ -79,6 +80,7 @@ hxxx_helper_clean(struct hxxx_helper *hh)
hevc_rbsp_release_sps
(
hnal
->
hevc_sps
));
RELEASE_NALS
(
hh
->
hevc
.
pps_list
,
HEVC_PPS_ID_MAX
,
hevc_rbsp_release_pps
(
hnal
->
hevc_pps
));
memset
(
&
hh
->
hevc
,
0
,
sizeof
(
hh
->
hevc
));
break
;
default:
vlc_assert_unreachable
();
...
...
Write
Preview
Markdown
is supported
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