Fix crashes when playing nuv files

regression introduced by FFmpeg 2.2 resync