This patch fixes building with libavresample version 0.0.3 (before 2012-10-05), e.g. when using ffmpeg-1.0.5 from the PackMan openSUSE package.
Fixed in version 3.0.
Fixed in version 3.0.