summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-21 13:09:07 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-21 13:09:24 +0100
commit2b2b6d1e3ceb1bfe77bc8ae9af763ddae9c352a3 (patch)
treebbf79314d96fcb501db774b3a23869fbc850981a /libavformat
parent5402a22845e90fe2453d34b98e58c245e2d2e40d (diff)
parentb878ba03e7e088777cc5083766e0b2a293e716ee (diff)
Merge commit 'b878ba03e7e088777cc5083766e0b2a293e716ee'
* commit 'b878ba03e7e088777cc5083766e0b2a293e716ee': rtpdec_hevc: Initialize variables to silence false positive compiler warnings Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpdec_hevc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_hevc.c b/libavformat/rtpdec_hevc.c
index 851d836331..0148b16c79 100644
--- a/libavformat/rtpdec_hevc.c
+++ b/libavformat/rtpdec_hevc.c
@@ -95,8 +95,8 @@ static av_cold int hevc_sdp_parse_fmtp_config(AVFormatContext *s,
/* sprop-sei: [base64] */
if (!strcmp(attr, "sprop-vps") || !strcmp(attr, "sprop-sps") ||
!strcmp(attr, "sprop-pps") || !strcmp(attr, "sprop-sei")) {
- uint8_t **data_ptr;
- int *size_ptr;
+ uint8_t **data_ptr = NULL;
+ int *size_ptr = NULL;
if (!strcmp(attr, "sprop-vps")) {
data_ptr = &hevc_data->vps;
size_ptr = &hevc_data->vps_size;