compile in lavc_dr1 if libav doesn't provide refcounting
DEFINES: change all of the libav conditionals