aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-08 13:33:46 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-08 14:44:15 +0200
commit6dbaeed6b7b7c858dffdf141b725506b887660e7 (patch)
tree4a1cd9d605da56b75e285258e92ae46d5994df85 /ffmpeg_opt.c
parentd3d776ccf94c988755efb264e318e97a11fea194 (diff)
downloadffmpeg-6dbaeed6b7b7c858dffdf141b725506b887660e7.tar.gz
ffmpeg: switch swscale option handling to AVDictionary similar to what the other subsystems use
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 66a43b4093..28d305103a 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -1240,7 +1240,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
if (oc->oformat->flags & AVFMT_GLOBALHEADER)
ost->enc_ctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
- av_opt_get_int(o->g->sws_opts, "sws_flags", 0, &ost->sws_flags);
+ av_dict_copy(&ost->sws_dict, o->g->sws_dict, 0);
av_dict_copy(&ost->swr_opts, o->g->swr_opts, 0);
if (ost->enc && av_get_exact_bits_per_sample(ost->enc->id) == 24)