From ad899522ffa7f0039e631b0408a36f23aa84c0e7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 24 Feb 2013 19:07:42 +0100 Subject: 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 --- cmdutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmdutils.h') diff --git a/cmdutils.h b/cmdutils.h index 3e3d002e7a..08c92ce6ee 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -51,7 +51,7 @@ extern const int this_year; extern AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB]; extern AVFormatContext *avformat_opts; extern struct SwsContext *sws_opts; -extern struct SwrContext *swr_opts; +extern AVDictionary *swr_opts; extern AVDictionary *format_opts, *codec_opts, *resample_opts; /** @@ -255,7 +255,7 @@ typedef struct OptionGroup { AVDictionary *format_opts; AVDictionary *resample_opts; struct SwsContext *sws_opts; - struct SwrContext *swr_opts; + AVDictionary *swr_opts; } OptionGroup; /** -- cgit v1.2.3