summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-07-09 22:15:07 +0000
committerMåns Rullgård <mans@mansr.com>2007-07-09 22:15:07 +0000
commit4f13e73392c770dfb21912d090fa3bc39bab802a (patch)
tree85461b34f81275b3c0c22a4d3e5d1291bc130c1b
parentb776e3d11b9951f9a67aa19239ee1d02f773bbd0 (diff)
avoid deprecation warnings for ImgReSampleContext from avcodec.h
Originally committed as revision 9568 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a18d67e068..ef6ba1db17 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2223,11 +2223,6 @@ void av_resample_close(struct AVResampleContext *c);
/**
* @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 @@ 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