diff options
author | James Almer <jamrial@gmail.com> | 2017-06-22 15:51:28 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-06-22 16:12:51 -0300 |
commit | 505cb8e390f275830f5f387020207aaf267be800 (patch) | |
tree | da50da03759a4f8edec77270a88ab869c1911f02 /libavcodec | |
parent | 067e42b851a707924a154c4757516cc488985eb3 (diff) | |
download | ffmpeg-505cb8e390f275830f5f387020207aaf267be800.tar.gz |
avformat/oggenc: check for stream private data in ogg_free()
Fixes a NULL pointer derefence when ogg_init() returns a failure and
a stream's private data was not yet allocated.
This is a regression since 3c5a53cdfa099bba8bd951f95b85727b4b3b5d68
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions