avformat/utils: Set stream side-data size even without side-data

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/338/head
Andreas Rheinhardt 5 years ago
parent 72baae1395
commit 38490cbeb3
  1. 2
      libavformat/utils.c

@ -5507,6 +5507,8 @@ uint8_t *av_stream_get_side_data(const AVStream *st,
return st->side_data[i].data;
}
}
if (size)
*size = 0;
return NULL;
}

Loading…
Cancel
Save