diff --git a/libavcodec/options.c b/libavcodec/options.c index 694e1c3f3b..0026f88b89 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -182,7 +182,6 @@ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src) } av_opt_free(dest); - av_free(dest->priv_data); memcpy(dest, src, sizeof(*dest));