shithub: libsamplerate

Download patch

ref: ca5618deb1a747f3b46f6240a2b232e632c37b0e
parent: 1fd5bf60d63fff2f027bad067346666d2640ee7d
author: evpobr <evpobr@gmail.com>
date: Mon Nov 16 04:14:00 EST 2020

Move private_data field to the end of the SRC_STATE.

--- a/src/common.h
+++ b/src/common.h
@@ -126,14 +126,14 @@
 	/* SRC_MODE_PROCESS or SRC_MODE_CALLBACK */
 	enum SRC_MODE	mode ;
 
-	/* Pointer to data to converter specific data. */
-	void	*private_data ;
-
 	/* Data specific to SRC_MODE_CALLBACK. */
 	src_callback_t	callback_func ;
 	void			*user_callback_data ;
 	long			saved_frames ;
 	const float		*saved_data ;
+
+	/* Pointer to data to converter specific data. */
+	void	*private_data ;
 } ;
 
 /* In src_sinc.c */