History

lavf: remove duplicate assignment in avformat_alloc_context.

AVClass is already initialized in avformat_get_context_defaults.

Anton Khirnov committed 15 years ago

Commit 9ac1bf81 parent 4a7a1b71 file · +0 −1Browse files

Unified · Split

libavformat/options.c+0−1
@@ -86,6 +86,5 @@ AVFormatContext *avformat_alloc_context(void) · 85 unmodified lines
8686 ic = av_malloc(sizeof(AVFormatContext));
8787 if (!ic) return ic;
8888 avformat_get_context_defaults(ic);
89− ic->av_class = &av_format_context_class;
9089 return ic;
9190 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t