ffmpeg: fix variable type for end char
fixes warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>