Mercurial > libavcodec.hg
changeset 5266:91fa81e4d14d libavcodec
avoid deprecation warnings for ImgReSampleContext from avcodec.h
author | mru |
---|---|
date | Mon, 09 Jul 2007 22:15:07 +0000 |
parents | a5e1cc69033d |
children | 8256f8ec2fac |
files | avcodec.h |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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