From 29e3489602aeb72dbd8ceebfcfa7025e8a57acaf Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 29 Apr 2011 11:42:05 +0200 Subject: lavf: remove duplicate assignment in avformat_alloc_context. AVClass is already initialized in avformat_get_context_defaults. --- libavformat/options.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/options.c') diff --git a/libavformat/options.c b/libavformat/options.c index 483b644f8d..22807c3058 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; } -- cgit v1.2.3