aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-29 11:42:05 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-29 11:42:05 +0200
commit9ac1bf88c00dbe7eb2191e2d5325fb104b9d8341 (patch)
treec4366448efff25d562dca9a6aa73c750f6cad9ef
parent4a7a1b7def03051e16a3ffbbe51d41f227aea0fd (diff)
downloadffmpeg-9ac1bf88c00dbe7eb2191e2d5325fb104b9d8341.tar.gz
lavf: remove duplicate assignment in avformat_alloc_context.
AVClass is already initialized in avformat_get_context_defaults.
-rw-r--r--libavformat/options.c1
1 files changed, 0 insertions, 1 deletions
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;
}