From: Steinar H. Gunderson Date: Sat, 30 Mar 2019 13:23:58 +0000 (+0100) Subject: Fix storing of audio sizes in the database. X-Git-Tag: 1.8.5~2 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=3ffbf49e7053bc419f5440bbde139e282dd73a8b Fix storing of audio sizes in the database. --- 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;