fixed build error with naughty use ffmpeg func

Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>