Commit ddfe4c1d authored by mru's avatar mru

avoid deprecation warnings for ImgReSampleContext from avcodec.h


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9568 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent da3a263e
......@@ -2220,11 +2220,6 @@ void av_resample_close(struct AVResampleContext *c);
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
/* YUV420 format is assumed ! */
/**
* @deprecated Use the software scaler (swscale) instead.
*/
struct ImgReSampleContext attribute_deprecated;
/**
* @deprecated Use the software scaler (swscale) instead.
*/
......@@ -2249,13 +2244,13 @@ attribute_deprecated ImgReSampleContext *img_resample_full_init(int owidth, int
/**
* @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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment