Don't need to check for NULL before av_free().