aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cljrdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-09-24 15:03:42 -0300
committerJames Almer <jamrial@gmail.com>2016-09-25 16:17:59 -0300
commit449dc25f56fa1a84285e0f972849c4c40896807b (patch)
treeeb568e3032cb6e66b8e8a6073fca31c67988d642 /libavcodec/cljrdec.c
parent3ac76d76185114bdfade3156a72ff97a65488adf (diff)
downloadffmpeg-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