diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-12-09 00:00:18 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-12-10 13:36:12 +0100 |
commit | 7d3baebe408cb7377dbb6fa1a7fd285e8e366440 (patch) | |
tree | ddd2315d4417b33a6a3dd46316521f18267f98c2 /libavformat/cafdec.c | |
parent | df694a5e9d40bdae734c8bb9523c13722b38ebe5 (diff) | |
download | ffmpeg-7d3baebe408cb7377dbb6fa1a7fd285e8e366440.tar.gz |
opus_parser: fix leaking channel_maps on error
Make ff_opus_parse_extradata free allocated memory on error instead of
expecting callers to free it in that case.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/cafdec.c')
0 files changed, 0 insertions, 0 deletions