Commit 2b2b6d1e authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b878ba03'

* commit 'b878ba03':
  rtpdec_hevc: Initialize variables to silence false positive compiler warnings
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 5402a228 b878ba03
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment