From 3ffbf49e7053bc419f5440bbde139e282dd73a8b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 30 Mar 2019 14:23:58 +0100 Subject: [PATCH] Fix storing of audio sizes in the database. --- futatabi/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/futatabi/db.cpp b/futatabi/db.cpp index 762c2fd..9c6748f 100644 --- a/futatabi/db.cpp +++ b/futatabi/db.cpp @@ -287,7 +287,7 @@ void DB::store_frame_file(const string &filename, size_t size, const vectoradd_pts(frame.frame.pts); stream->add_offset(frame.frame.offset); stream->add_file_size(frame.frame.size); - stream->add_audio_size(frame.frame.size); + stream->add_audio_size(frame.frame.audio_size); } } string serialized; -- 2.39.2