diff mbox series

[FFmpeg-devel,2/4] avutil/frame: Rename QP related fields so unintentional use is impossible

Message ID 20200229122156.28115-3-michael@niedermayer.cc
State New
Headers show
Series [FFmpeg-devel,1/4] Remove all uses of AVFrame QP tables and related fields in AVFrame
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Michael Niedermayer Feb. 29, 2020, 12:21 p.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavutil/frame.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

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