[FFmpeg-devel] [PATCH 1/6] avutil: remove deprecation of qscale_{table, type}, qstride

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sat Aug 8 13:36:29 CEST 2015


They are used by the not deprecated av_frame_{g,s}et_qp_table.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
---
 libavutil/frame.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavutil/frame.h b/libavutil/frame.h
index 196b578..c4e333c 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -285,21 +285,19 @@ typedef struct AVFrame {
 #if FF_API_AVFRAME_LAVC
     attribute_deprecated
     int reference;
-
+#endif
     /**
      * QP table
      */
-    attribute_deprecated
     int8_t *qscale_table;
     /**
      * QP store stride
      */
-    attribute_deprecated
     int qstride;
 
-    attribute_deprecated
     int qscale_type;
 
+#if FF_API_AVFRAME_LAVC
     /**
      * mbskip_table[mb]>=1 if MB didn't change
      * stride= mb_width = (width+15)>>4
-- 
2.4.6


More information about the ffmpeg-devel mailing list