diff options
author | Pan Bian <bianpan2016@163.com> | 2017-11-27 09:30:53 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-11-28 01:18:22 +0100 |
commit | 5b4baf1506277863e9c1fa4bd302a4653e859669 (patch) | |
tree | 8e9be5bea8bfe622e9cc85b7636e2a9e9b29e1ab /libavcodec/arm/me_cmp_armv6.S | |
parent | eb86f72fcaf3abd6c7d243d7c85ab0440f752be5 (diff) | |
download | ffmpeg-5b4baf1506277863e9c1fa4bd302a4653e859669.tar.gz |
libavformat/rtpenc_mpegts: check avformat_new_stream() return value
The function avformat_new_stream() returns a NULL pointer on failure.
However, in function rtp_mpegts_write_header(), its return value is not
validated before it is dereferenced. Check the return value against NULL
to avoid potential NULL dereference.
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/arm/me_cmp_armv6.S')
0 files changed, 0 insertions, 0 deletions