Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1625:f1ccbe0ad364 | 1626:8a13bce78882 |
---|---|
334 #undef D | 334 #undef D |
335 #undef DEFAULT | 335 #undef DEFAULT |
336 | 336 |
337 static const AVClass av_format_context_class = { "AVFormatContext", format_to_name, options }; | 337 static const AVClass av_format_context_class = { "AVFormatContext", format_to_name, options }; |
338 | 338 |
339 #if LIBAVFORMAT_VERSION_INT >= ((51<<16)+(0<<8)+0) | 339 static void avformat_get_context_defaults(AVFormatContext *s) |
340 static | 340 { |
341 #endif | |
342 void avformat_get_context_defaults(AVFormatContext *s){ | |
343 memset(s, 0, sizeof(AVFormatContext)); | 341 memset(s, 0, sizeof(AVFormatContext)); |
344 | 342 |
345 s->av_class = &av_format_context_class; | 343 s->av_class = &av_format_context_class; |
346 | 344 |
347 av_opt_set_defaults(s); | 345 av_opt_set_defaults(s); |