]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/frame.h
lavu: Deprecate AVFrame.error[]
[ffmpeg] / libavutil / frame.h
index d231ff3966f38aa977846d2ff1f1c2415868333d..c723cb02c327da24ff5f412268bd52b1c5e763dc 100644 (file)
@@ -240,10 +240,13 @@ typedef struct AVFrame {
      */
     void *opaque;
 
+#if FF_API_ERROR_FRAME
     /**
-     * error
+     * @deprecated unused
      */
+    attribute_deprecated
     uint64_t error[AV_NUM_DATA_POINTERS];
+#endif
 
     /**
      * When decoding, this signals how much the picture must be delayed.