Allow ffdecode.c to compile with ffmpeg.

Patch thanks to Maks Verver.
Update sphinx docs.