lavf: always use av_free