diff avcodec.h @ 5266:91fa81e4d14d libavcodec

avoid deprecation warnings for ImgReSampleContext from avcodec.h
author mru
date Mon, 09 Jul 2007 22:15:07 +0000
parents 2b72f9bc4f06
children 7dcea5ee1d51
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