Fix the av_set_string() free / alloc issue.