Browse Source

lavf: remove duplicate assignment in avformat_alloc_context.

AVClass is already initialized in  avformat_get_context_defaults.
tags/n0.8
Anton Khirnov 15 years ago
parent
commit
29e3489602
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/options.c

+ 0
- 1
libavformat/options.c View File

@@ -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;
}

Loading…
Cancel
Save