Mercurial > audlegacy-plugins
diff src/ffmpeg/libavformat/avformat.h @ 822:a35b692388f6 trunk
[svn] - i don't want to hear about deprecation, thanks.
| author | nenolod |
|---|---|
| date | Mon, 12 Mar 2007 14:04:53 -0700 |
| parents | 2eaaa3aa182b |
| children | a195f1259a6b |
line wrap: on
line diff
--- a/src/ffmpeg/libavformat/avformat.h Mon Mar 12 14:03:42 2007 -0700 +++ b/src/ffmpeg/libavformat/avformat.h Mon Mar 12 14:04:53 2007 -0700 @@ -99,7 +99,7 @@ is assumed to be such as 0 <= num < den */ typedef struct AVFrac { int64_t val, num, den; -} AVFrac attribute_deprecated; +} AVFrac; /*************************************************/ /* input/output formats */ @@ -378,8 +378,8 @@ extern AVOutputFormat *first_oformat; /* still image support */ -struct AVInputImageContext attribute_deprecated; -typedef struct AVInputImageContext AVInputImageContext attribute_deprecated; +struct AVInputImageContext; +typedef struct AVInputImageContext AVInputImageContext; typedef struct AVImageInfo { enum PixelFormat pix_fmt; /* requested pixel format */ @@ -387,7 +387,7 @@ int height; /* requested height */ int interleaved; /* image is interleaved (e.g. interleaved GIF) */ AVPicture pict; /* returned allocated image */ -} AVImageInfo attribute_deprecated; +} AVImageInfo; /* AVImageFormat.flags field constants */ #define AVIMAGE_INTERLEAVED 0x0001 /* image format support interleaved output */ @@ -408,18 +408,18 @@ int (*img_write)(ByteIOContext *, AVImageInfo *); int flags; struct AVImageFormat *next; -} AVImageFormat attribute_deprecated; +} AVImageFormat; -void av_register_image_format(AVImageFormat *img_fmt) attribute_deprecated; -AVImageFormat *av_probe_image_format(AVProbeData *pd) attribute_deprecated; -AVImageFormat *guess_image_format(const char *filename) attribute_deprecated; +void av_register_image_format(AVImageFormat *img_fmt); +AVImageFormat *av_probe_image_format(AVProbeData *pd); +AVImageFormat *guess_image_format(const char *filename); enum CodecID av_guess_image2_codec(const char *filename); int av_read_image(ByteIOContext *pb, const char *filename, AVImageFormat *fmt, - int (*alloc_cb)(void *, AVImageInfo *info), void *opaque) attribute_deprecated; -int av_write_image(ByteIOContext *pb, AVImageFormat *fmt, AVImageInfo *img) attribute_deprecated; + int (*alloc_cb)(void *, AVImageInfo *info), void *opaque); +int av_write_image(ByteIOContext *pb, AVImageFormat *fmt, AVImageInfo *img); -extern AVImageFormat *first_image_format attribute_deprecated; +extern AVImageFormat *first_image_format; /* XXX: use automatic init with either ELF sections or C file parser */ /* modules */
