Correct FFmpeg padding logic
Formatting