diff options
author | James Almer <jamrial@gmail.com> | 2016-09-24 15:03:42 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-09-25 16:17:59 -0300 |
commit | 449dc25f56fa1a84285e0f972849c4c40896807b (patch) | |
tree | eb568e3032cb6e66b8e8a6073fca31c67988d642 /libavcodec/cljrdec.c | |
parent | 3ac76d76185114bdfade3156a72ff97a65488adf (diff) | |
download | ffmpeg-449dc25f56fa1a84285e0f972849c4c40896807b.tar.gz |
ffmpeg: fix memleak of bitstream filter context on failure
Increase the nb_bitstream_filters value as soon as the context is allocated, so
if option parsing fails the last context is actually freed.
Reviewed-by: Josh de Kock <josh@itanimul.li>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cljrdec.c')
0 files changed, 0 insertions, 0 deletions