Kill warnings of possibly unused variables by using av_unused.