Revision 88a28965 libavformat/options.c

View differences:

libavformat/options.c
72 72
    av_opt_set_defaults(s);
73 73
}
74 74

  
75
AVFormatContext *av_alloc_format_context(void)
75
AVFormatContext *avformat_alloc_context(void)
76 76
{
77 77
    AVFormatContext *ic;
78 78
    ic = av_malloc(sizeof(AVFormatContext));
......
81 81
    ic->av_class = &av_format_context_class;
82 82
    return ic;
83 83
}
84

  
85
#if LIBAVFORMAT_VERSION_MAJOR < 53
86
AVFormatContext *av_alloc_format_context(void)
87
{
88
    return avformat_alloc_context();
89
}
90
#endif

Also available in: Unified diff