# HG changeset patch # User mru # Date 1184019307 0 # Node ID 91fa81e4d14d12185a9e46a45bbbd92c3f5aeb27 # Parent a5e1cc69033d333ff166f9f805142012370e54f4 avoid deprecation warnings for ImgReSampleContext from avcodec.h diff -r a5e1cc69033d -r 91fa81e4d14d avcodec.h --- a/avcodec.h Mon Jul 09 21:07:24 2007 +0000 +++ b/avcodec.h Mon Jul 09 22:15:07 2007 +0000 @@ -2223,11 +2223,6 @@ /** * @deprecated Use the software scaler (swscale) instead. */ -struct ImgReSampleContext attribute_deprecated; - -/** - * @deprecated Use the software scaler (swscale) instead. - */ typedef struct ImgReSampleContext ImgReSampleContext attribute_deprecated; /** @@ -2249,13 +2244,13 @@ /** * @deprecated Use the software scaler (swscale) instead. */ -attribute_deprecated void img_resample(ImgReSampleContext *s, +attribute_deprecated void img_resample(struct ImgReSampleContext *s, AVPicture *output, const AVPicture *input); /** * @deprecated Use the software scaler (swscale) instead. */ -attribute_deprecated void img_resample_close(ImgReSampleContext *s); +attribute_deprecated void img_resample_close(struct ImgReSampleContext *s); #endif