Mercurial > libavformat.hg
diff utils.c @ 1626:8a13bce78882 libavformat
remove #if obsoleted after last major version bump
author | bcoudurier |
---|---|
date | Mon, 08 Jan 2007 14:42:01 +0000 |
parents | f1ccbe0ad364 |
children | e4f1922ac981 |
line wrap: on
line diff
--- 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;