diff options
-rw-r--r-- | libavcodec/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index c4ee234766..461e4a13f0 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -187,6 +187,7 @@ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src) av_opt_free(dest); memcpy(dest, src, sizeof(*dest)); + av_opt_copy(dest, src); dest->priv_data = orig_priv_data; |