]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avcodec.h
indeo3: Fix null ptr dereference
[ffmpeg] / libavcodec / avcodec.h
index 6d4489c2a4f877e7b557d91e0f7d57f26a2ce9d5..0b9405ff4d9f10de073140318f2c0c91b919f343 100644 (file)
@@ -1029,13 +1029,12 @@ typedef struct AVFrame {
      */
     int quality;
 
+#if FF_API_AVFRAME_AGE
     /**
-     * buffer age (1->was last buffer and dint change, 2->..., ...).
-     * Set to INT_MAX if the buffer has not been used yet.
-     * - encoding: unused
-     * - decoding: MUST be set by get_buffer() for video.
+     * @deprecated unused
      */
-    int age;
+    attribute_deprecated int age;
+#endif
 
     /**
      * is this picture used as reference