I applied the patch that jcowgill submitted upstream plus another upstream commit and disabled vdpau support (which has been removed upstream) and was able to get the debian package to build, so I uploaded it to raspbian.
A debdiff should appear soon at https://debdiffs.raspbian.org/main/liba/libavg/ No intent to nmu in debian.