summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-24 19:07:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-24 20:31:56 +0100
commitad899522ffa7f0039e631b0408a36f23aa84c0e7 (patch)
tree6a2890728bf42084705e0100bec473570d1071a7 /ffmpeg.c
parentf3abdf4392a146462dc679846c061b8bf2b5c7a0 (diff)
downloadffmpeg-streaming-ad899522ffa7f0039e631b0408a36f23aa84c0e7.zip
ffmpeg-streaming-ad899522ffa7f0039e631b0408a36f23aa84c0e7.tar.gz
ffmpeg: use a AVDictionary instead of the context to move swr parameters around
This avoids per parameter changes in ffmpeg at the cost of making access somewhat more annoying. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index cecd763..af93880 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3212,6 +3212,7 @@ static int transcode(void)
av_freep(&ost->st->codec->subtitle_header);
av_free(ost->forced_kf_pts);
av_dict_free(&ost->opts);
+ av_dict_free(&ost->swr_opts);
av_dict_free(&ost->resample_opts);
}
}
OpenPOWER on IntegriCloud