mpjpeg: Check stream allocation