summaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorJames Almer <[email protected]>2016-09-24 15:03:42 -0300
committerJames Almer <[email protected]>2016-09-25 16:17:59 -0300
commit449dc25f56fa1a84285e0f972849c4c40896807b (patch)
treeeb568e3032cb6e66b8e8a6073fca31c67988d642 /libavformat/utils.c
parent3ac76d76185114bdfade3156a72ff97a65488adf (diff)
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 <[email protected]> Signed-off-by: James Almer <[email protected]>
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions