Removed unused variables
Formatting
Clean bug in FFmpeg subtitles logic