Fixes: null pointer dereference Fixes: rawvideo encoder Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>