diff options
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r-- | fftools/ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index c1ce017d80..30df93de2c 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -578,8 +578,10 @@ static void ffmpeg_cleanup(int ret) av_freep(&ost->avfilter); av_freep(&ost->logfile_prefix); +#if FFMPEG_OPT_MAP_CHANNEL av_freep(&ost->audio_channels_map); ost->audio_channels_mapped = 0; +#endif av_dict_free(&ost->sws_dict); av_dict_free(&ost->swr_opts); |