Fix mjpeg-b (padding bytes can exist between end of sos and image data)