]> git.sesse.net Git - ffmpeg/commitdiff
avpicture: Deprecate the single fields
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 27 Oct 2015 20:53:26 +0000 (21:53 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 27 Oct 2015 20:53:26 +0000 (21:53 +0100)
Silence pointless warnings from gcc.

libavcodec/avcodec.h

index b47aafaac3a80441b3c78353e3e775e2e10ede91..e368d6b185f3f25c440af15cf567205f48a7ad7c 100644 (file)
@@ -3181,10 +3181,12 @@ typedef struct AVHWAccel {
 /**
  * four components are given, that's all.
  * the last component is alpha
+ * @deprecated Use the imgutils functions
  */
-attribute_deprecated
 typedef struct AVPicture {
+    attribute_deprecated
     uint8_t *data[AV_NUM_DATA_POINTERS];
+    attribute_deprecated
     int linesize[AV_NUM_DATA_POINTERS];     ///< number of bytes per line
 } AVPicture;