Video rendered is shorter when exported with audio

Hey guys. I’m trying to export a video (with sound) using Blender, but the exported video is shorter when there’s audio. When there’s no audio the video file is exactly what I need it to be, 15 seconds long (360 frames) - but when I export the video with audio, the file is shorter.

Anyone know what’s going on?


So using FLAC instead of MP3 makes the video a bit longer.
I wonder why audio messes up the duration of the video

image