aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/options.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-29 11:42:05 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-17 23:01:42 +0200
commit29e3489602aeb72dbd8ceebfcfa7025e8a57acaf (patch)
tree3779aa417a524c20b9e98fca796a0bbd2becbf52 /libavformat/options.c
parentf0029cbcf68d77f4ea0ea0cc36596ea2a5305b13 (diff)
downloadffmpeg-29e3489602aeb72dbd8ceebfcfa7025e8a57acaf.tar.gz
lavf: remove duplicate assignment in avformat_alloc_context.
AVClass is already initialized in avformat_get_context_defaults.
Diffstat (limited to 'libavformat/options.c')
-rw-r--r--libavformat/options.c1
1 files changed, 0 insertions, 1 deletions
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;
}