[FFmpeg-cvslog] avpicture: Deprecate the single fields

Luca Barbato git at videolan.org
Thu Oct 29 14:25:08 CET 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Oct 27 21:53:26 2015 +0100| [f3aff31e5f66a4f1c4e34ce4944f4a402aca61ed] | committer: Luca Barbato

avpicture: Deprecate the single fields

Silence pointless warnings from gcc.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f3aff31e5f66a4f1c4e34ce4944f4a402aca61ed
---

 libavcodec/avcodec.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b47aafa..e368d6b 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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;
 



More information about the ffmpeg-cvslog mailing list