On Thu, 19 Feb 2015, Diego Biurrun wrote:
On Thu, Feb 19, 2015 at 10:34:10PM +0200, Martin Storsjö wrote:--- a/libavformat/rtpdec_hevc.c +++ b/libavformat/rtpdec_hevc.c @@ -91,8 +91,8 @@ static av_cold int hevc_sdp_parse_fmtp_config(AVFormatContext *s, 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 = 0;Shouldn't both be NULL?
Oh, indeed. Fixed locally. // Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
