This fixes a null pointer dereferece Fixes: CID1351346 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Paul B Mahol <onemda@gmail.com>