This should deal with some false positives, but might lead to more of them depending on whether it realises that av_freep() wraps av_free() or not.