fixes issue https://github.com/streamio/streamio-ffmpeg/issues/79