]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aacenc.h
mpeg4videodec: silence ubsan warning
[ffmpeg] / libavcodec / aacenc.h
index 2b721d374f48e870f11d807e3ba03edfe7a6aab4..a4a49c5253d6a2b1c524bddc950662aaa3f91f0b 100644 (file)
@@ -118,6 +118,7 @@ typedef struct AACEncContext {
     int last_frame;
     int random_state;
     float lambda;
+    int last_frame_pb_count;                     ///< number of bits for the previous frame
     float lambda_sum;                            ///< sum(lambda), for Qvg reporting
     int lambda_count;                            ///< count(lambda), for Qvg reporting
     enum RawDataBlockType cur_type;              ///< channel group type cur_channel belongs to