@@ -76,6 +76,14 @@ typedef struct IEC61937Context {
int dtshd_skip; ///< counter used for skipping
DTS-HD frames
+ int last_ts; ///< timestamp of the last TrueHD
frame to calculate spacing
+ int remaining; ///< bytes to the next mat code
+ uint8_t *buf; ///< pointer into the mat frame
+ uint8_t *last_frame; ///< buffer for remaining bytes
of incompletely written frame
+ int last_frame_size;
+ int space; ///< current delta of expected
and actual frame spacing
+ int ratebits; ///< TrueHD ratebits, needed to