# HG changeset patch # User bcoudurier # Date 1168267321 0 # Node ID 8a13bce78882a2c7de5957d0fbebeb83e53a95fc # Parent f1ccbe0ad364aec50120dafb0b12bed382c05cc2 remove #if obsoleted after last major version bump diff -r f1ccbe0ad364 -r 8a13bce78882 utils.c --- a/utils.c Mon Jan 08 14:22:00 2007 +0000 +++ b/utils.c Mon Jan 08 14:42:01 2007 +0000 @@ -336,10 +336,8 @@ static const AVClass av_format_context_class = { "AVFormatContext", format_to_name, options }; -#if LIBAVFORMAT_VERSION_INT >= ((51<<16)+(0<<8)+0) -static -#endif -void avformat_get_context_defaults(AVFormatContext *s){ +static void avformat_get_context_defaults(AVFormatContext *s) +{ memset(s, 0, sizeof(AVFormatContext)); s->av_class = &av_format_context_class;