Check return value of frame_start(), this avoids a crash if AVCodecContext::get_buffe...