Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
To the best of my knowledge the author has not agreed to the change from ffmpeg->libav thus i revert it.
This separation allows these functions to be used in a cleaner fashion from other codecs (e.g. qdm2) and simplifies creating optimised versions of them. Signed-off-by: Mans Rullgard <mans@mansr.com>