diff --git a/libavformat/options.c b/libavformat/options.c index 1e5e50604c..e146d5bd3e 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -86,6 +86,5 @@ AVFormatContext *avformat_alloc_context(void) ic = av_malloc(sizeof(AVFormatContext)); if (!ic) return ic; avformat_get_context_defaults(ic); - ic->av_class = &av_format_context_class; return ic; }