Removes hack that sets the resolution to be a multiple of 8 because the limitation in ffmpeg no longer exists
JPEG files are in files of 8x8 but if it worked before it might be that ffmpeg handled it by adding a buffer and stores what the actual dimensions are.This was probably needed when ffmpeg didn’t create the buffer but now that it does(I’m assuming this because we had no problems with files that weren’t multiple of 8) we should remove this ‘hack’ because it will probably scale incorrectly with part of the buffer showing because it thinks the video dimensions are bigger that what it actually is.
Where I got the information that it needs to be 8x8
I know, that jpeg encoding works on 8x8 blocks, that's why I didn't question these lines too much. If this was ever limitation for MJPEG I would expect at least some historic document describing that.
This is 17x17 pixels MJPEG video created with blender as a "proof"