]> git.sesse.net Git - x264/blobdiff - common/frame.h
Fix some uses of uninitialized row_satd values in VBV
[x264] / common / frame.h
index 6da740ab264995048f2e8400a9d35f2c346d1c7f..523689fcb0867bce8af6c45138fda70395f28299 100644 (file)
@@ -56,8 +56,8 @@ typedef struct
 
     /* for unrestricted mv we allocate more data than needed
      * allocated data are stored in buffer */
-    void    *buffer[4];
-    void    *buffer_lowres[4];
+    uint8_t *buffer[4];
+    uint8_t *buffer_lowres[4];
 
     /* motion data */
     int8_t  *mb_type;
@@ -81,7 +81,7 @@ typedef struct
     /* threading */
     int     i_lines_completed; /* in pixels */
     int     i_reference_count; /* number of threads using this frame (not necessarily the number of pointers) */
-    x264_pthread_mutex_t mutex;      
+    x264_pthread_mutex_t mutex;
     x264_pthread_cond_t  cv;
 
 } x264_frame_t;