Don't die if av_fetch returns NULL. Treat it as undef instead.