summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-15 04:46:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-15 05:38:47 +0200
commitd3a22491c736588ee1e94a240bbe9e35bbb8d88a (patch)
tree82229a017fa4d420a52e4486ae99d928bd117a75 /ffmpeg.c
parent33fefdb44992bce18acb4548f28c9cd5b31de11f (diff)
downloadffmpeg-d3a22491c736588ee1e94a240bbe9e35bbb8d88a.tar.gz
ffmpeg: remove 32 channel limit from audio_channels_map
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 60b10cce5b..7999f7277f 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -483,6 +483,9 @@ static void ffmpeg_cleanup(int ret)
av_freep(&ost->avfilter);
av_freep(&ost->logfile_prefix);
+ av_freep(&ost->audio_channels_map);
+ ost->audio_channels_mapped = 0;
+
avcodec_free_context(&ost->enc_ctx);
av_freep(&output_streams[i]);