Skip to content

Commit

Permalink
set non-zero avgBitrate again (for iPod 5G compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
nu774 committed May 22, 2018
1 parent cdf4cb1 commit 3465656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ void finalize_m4a(MP4SinkBase *sink, IEncoder *encoder,
}
}
sink->writeTags();
sink->writeBitrates();
sink->writeBitrates(stat->overallBitrate() * 1000.0 + .5);
if (!opts.no_optimize)
do_optimize(sink->getFile(), ofilename, opts.verbose);
sink->close();
Expand Down

0 comments on commit 3465656

Please sign in to comment.