projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d969993
)
h265parser: Initialize pointer correctly that is never assigned but freed in error...
author
duhui.lee
<duhui.lee@lge.com>
Tue, 21 Jan 2014 01:58:35 +0000
(10:58 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 21 Jan 2014 08:58:18 +0000
(09:58 +0100)
Fixes crash on broken streams.
https://bugzilla.gnome.org/show_bug.cgi?id=722669
gst-libs/gst/codecparsers/gsth265parser.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/codecparsers/gsth265parser.c
b/gst-libs/gst/codecparsers/gsth265parser.c
index
cfad2b9
..
cb77fab
100644
(file)
--- a/
gst-libs/gst/codecparsers/gsth265parser.c
+++ b/
gst-libs/gst/codecparsers/gsth265parser.c
@@
-2251,6
+2251,7
@@
gst_h265_parser_parse_slice_hdr (GstH265Parser * parser,
slice->loop_filter_across_slices_enabled_flag =
pps->loop_filter_across_slices_enabled_flag;
slice->num_entry_point_offsets = 0;
+ slice->entry_point_offset_minus1 = NULL;
if (!slice->first_slice_segment_in_pic_flag) {
const guint n = ceil_log2 (PicSizeInCtbsY);