[FFmpeg-devel] [PATCH 2/4] avutil/frame: Rename QP related fields	so unintentional use is impossible
    Michael Niedermayer 
    michael at niedermayer.cc
       
    Sat Feb 29 14:21:54 EET 2020
    
    
  
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavutil/frame.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavutil/frame.h b/libavutil/frame.h
index b5afb58634..b966f37fe0 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -614,18 +614,18 @@ typedef struct AVFrame {
      * QP table
      */
     attribute_deprecated
-    int8_t *qscale_table;
+    int8_t *qscale_table_deprecated;
     /**
      * QP store stride
      */
     attribute_deprecated
-    int qstride;
+    int qstride_deprecated;
 
     attribute_deprecated
-    int qscale_type;
+    int qscale_type_deprecated;
 
     attribute_deprecated
-    AVBufferRef *qp_table_buf;
+    AVBufferRef *qp_table_deprecated;
 #endif
     /**
      * For hwaccel-format frames, this should be a reference to the
-- 
2.17.1
    
    
More information about the ffmpeg-devel
mailing list